dbm: Switch to generated setup.py.

pull/118/head
Paul Sokolovsky 2014-05-12 03:53:11 +03:00
rodzic c372b386b6
commit 710cb9298e
2 zmienionych plików z 14 dodań i 12 usunięć

2
dbm/metadata.txt 100644
Wyświetl plik

@ -0,0 +1,2 @@
type=dummy
version=0.0.1

Wyświetl plik

@ -1,18 +1,18 @@
import sys
# Remove current dir from sys.path, otherwise distutils will peek up our
# module instead of system one.
# Remove current dir from sys.path, otherwise setuptools will peek up our
# module instead of system.
sys.path.pop(0)
sys.path.insert(0, '..')
from setuptools import setup
import metadata
NAME = 'dbm'
setup(name='micropython-' + NAME,
version='0.0.0',
description=metadata.desc_dummy(NAME),
url=metadata.url,
author=metadata.author_upy_devels,
author_email=metadata.author_upy_devels_email,
setup(name='micropython-dbm',
version='0.0.1',
description='Dummy dbm module for MicroPython',
long_description='This is dummy implementation of a module for MicroPython standard library.\nIt contains zero or very little functionality, and primarily intended to\navoid import errors (using idea that even if an application imports a\nmodule, it may be not using it onevery code path, so may work at least\npartially). It is expected that more complete implementation of the\nmodule will be provided later. Please help with the development if you\nare interested in this module.',
url='https://github.com/micropython/micropython/issues/405',
author='MicroPython Developers',
author_email='micro-python@googlegroups.com',
maintainer='MicroPython Developers',
maintainer_email='micro-python@googlegroups.com',
license='MIT',
py_modules=[NAME])
py_modules=['dbm'])