2014-05-07 23:17:25 +00:00
|
|
|
import sys
|
|
|
|
# Remove current dir from sys.path, otherwise distutils will peek up our
|
2014-05-09 21:42:42 +00:00
|
|
|
# module instead of system.
|
2014-05-07 23:17:25 +00:00
|
|
|
sys.path.pop(0)
|
|
|
|
from setuptools import setup
|
2014-05-09 21:42:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
def desc_dummy(name):
|
|
|
|
return 'Dummy %s module to MicroPython' % name
|
|
|
|
def desc_cpython(name):
|
|
|
|
return 'CPython %s module ported to MicroPython' % name
|
2014-05-07 23:17:25 +00:00
|
|
|
|
|
|
|
NAME = 'fnmatch'
|
|
|
|
|
|
|
|
setup(name='micropython-' + NAME,
|
2014-05-09 21:42:42 +00:00
|
|
|
version='0.5',
|
|
|
|
description=desc_cpython(NAME),
|
|
|
|
url='https://github.com/micropython/micropython/issues/405',
|
|
|
|
author='CPython Developers',
|
|
|
|
maintainer='MicroPython Developers',
|
|
|
|
maintainer_email='micro-python@googlegroups.com',
|
|
|
|
license='Python',
|
2014-05-07 23:17:25 +00:00
|
|
|
py_modules=[NAME])
|