dis: Add placeholder module.

pull/234/merge
Paul Sokolovsky 2017-12-12 12:17:00 +02:00
rodzic 86f1db5f2c
commit 82bb7607f3
2 zmienionych plików z 23 dodań i 0 usunięć

3
dis/metadata.txt 100644
Wyświetl plik

@ -0,0 +1,3 @@
srctype = dummy
type = module
version = 0.0.0

20
dis/setup.py 100644
Wyświetl plik

@ -0,0 +1,20 @@
import sys
# Remove current dir from sys.path, otherwise setuptools will peek up our
# module instead of system's.
sys.path.pop(0)
from setuptools import setup
sys.path.append("..")
import optimize_upip
setup(name='micropython-dis',
version='0.0.0',
description='Dummy dis module for MicroPython',
long_description='This is a 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 module\nwill be provided later. Please help with the development if you are\ninterested in this module.',
url='https://github.com/micropython/micropython-lib',
author='MicroPython Developers',
author_email='micro-python@googlegroups.com',
maintainer='MicroPython Developers',
maintainer_email='micro-python@googlegroups.com',
license='MIT',
cmdclass={'optimize_upip': optimize_upip.OptimizeUpip},
py_modules=['dis'])