kopia lustrzana https://github.com/micropython/micropython-lib
dbm: Switch to generated setup.py.
rodzic
c372b386b6
commit
710cb9298e
|
@ -0,0 +1,2 @@
|
|||
type=dummy
|
||||
version=0.0.1
|
24
dbm/setup.py
24
dbm/setup.py
|
@ -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'])
|
||||
|
|
Ładowanie…
Reference in New Issue