kopia lustrzana https://github.com/micropython/micropython-lib
fnmatch: Update metadata.
rodzic
8a15543698
commit
3df885dfa7
|
@ -1,18 +1,23 @@
|
||||||
import sys
|
import sys
|
||||||
# Remove current dir from sys.path, otherwise distutils will peek up our
|
# Remove current dir from sys.path, otherwise distutils will peek up our
|
||||||
# module instead of system one.
|
# module instead of system.
|
||||||
sys.path.pop(0)
|
sys.path.pop(0)
|
||||||
sys.path.insert(0, '..')
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
import metadata
|
|
||||||
|
|
||||||
|
def desc_dummy(name):
|
||||||
|
return 'Dummy %s module to MicroPython' % name
|
||||||
|
def desc_cpython(name):
|
||||||
|
return 'CPython %s module ported to MicroPython' % name
|
||||||
|
|
||||||
NAME = 'fnmatch'
|
NAME = 'fnmatch'
|
||||||
|
|
||||||
setup(name='micropython-' + NAME,
|
setup(name='micropython-' + NAME,
|
||||||
version='0.0.0',
|
version='0.5',
|
||||||
description=metadata.desc_dummy(NAME),
|
description=desc_cpython(NAME),
|
||||||
url=metadata.url,
|
url='https://github.com/micropython/micropython/issues/405',
|
||||||
author=metadata.author_upy_devels,
|
author='CPython Developers',
|
||||||
author_email=metadata.author_upy_devels_email,
|
maintainer='MicroPython Developers',
|
||||||
license='MIT',
|
maintainer_email='micro-python@googlegroups.com',
|
||||||
|
license='Python',
|
||||||
py_modules=[NAME])
|
py_modules=[NAME])
|
||||||
|
|
Ładowanie…
Reference in New Issue