From f8252e6e5a02a7b21a1ce3eff5e5e184134fc4c3 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 19 May 2014 22:41:54 +0300 Subject: [PATCH] os: Switch to metadata.txt . --- os/metadata.txt | 4 ++++ os/setup.py | 14 +++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 os/metadata.txt diff --git a/os/metadata.txt b/os/metadata.txt new file mode 100644 index 00000000..36da8f4b --- /dev/null +++ b/os/metadata.txt @@ -0,0 +1,4 @@ +srctype = micropython-lib +type = package +version = 0.0.7 +author = Paul Sokolovsky diff --git a/os/setup.py b/os/setup.py index 2b9159b0..e66ced62 100644 --- a/os/setup.py +++ b/os/setup.py @@ -1,10 +1,18 @@ -from distutils.core import setup +import sys +# Remove current dir from sys.path, otherwise setuptools will peek up our +# module instead of system. +sys.path.pop(0) +from setuptools import setup + setup(name='micropython-os', - version='0.0.6', + version='0.0.7', description='os module for MicroPython', + long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.", url='https://github.com/micropython/micropython/issues/405', - author='MicroPython Developers', + author='Paul Sokolovsky', author_email='micro-python@googlegroups.com', + maintainer='MicroPython Developers', + maintainer_email='micro-python@googlegroups.com', license='MIT', packages=['os'])