micropython-lib/fnmatch/setup.py

22 wiersze
1.3 KiB
Python
Czysty Zwykły widok Historia

2014-05-07 23:17:25 +00:00
import sys
2014-05-12 17:51:31 +00:00
# Remove current dir from sys.path, otherwise setuptools will peek up our
# module instead of system's.
2014-05-07 23:17:25 +00:00
sys.path.pop(0)
from setuptools import setup
sys.path.append("..")
import optimize_upip
2014-05-09 21:42:42 +00:00
2014-05-12 17:51:31 +00:00
setup(name='micropython-fnmatch',
version='0.5.2',
2014-05-12 17:51:31 +00:00
description='CPython fnmatch 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-lib',
2014-05-09 21:42:42 +00:00
author='CPython Developers',
2014-05-12 17:51:31 +00:00
author_email='python-dev@python.org',
2014-05-09 21:42:42 +00:00
maintainer='MicroPython Developers',
maintainer_email='micro-python@googlegroups.com',
license='Python',
cmdclass={'optimize_upip': optimize_upip.OptimizeUpip},
2014-05-12 17:51:31 +00:00
py_modules=['fnmatch'],
install_requires=['micropython-os', 'micropython-os.path', 'micropython-posixpath', 'micropython-re-pcre'])