getopt: Add setup.py.

pull/118/head
Paul Sokolovsky 2014-05-19 22:06:07 +03:00
rodzic 00d0f5efa8
commit 4a5945b438
1 zmienionych plików z 19 dodań i 0 usunięć

19
getopt/setup.py 100644
Wyświetl plik

@ -0,0 +1,19 @@
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-getopt',
version='0.5',
description='CPython getopt module ported to MicroPython',
long_description='This is a module ported from CPython standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.',
url='https://github.com/micropython/micropython/issues/405',
author='CPython Developers',
author_email='python-dev@python.org',
maintainer='MicroPython Developers',
maintainer_email='micro-python@googlegroups.com',
license='Python',
py_modules=['getopt'],
install_requires=['micropython-os'])