diff --git a/random/random.py b/random/random.py new file mode 100644 index 00000000..e69de29b diff --git a/random/setup.py b/random/setup.py new file mode 100644 index 00000000..bae37e0b --- /dev/null +++ b/random/setup.py @@ -0,0 +1,14 @@ +import sys +# Remove current dir from sys.path, otherwise distutils will peek up our +# module instead of system. +sys.path.pop(0) +from setuptools import setup + +setup(name='micropython-random', + version='0.0.0', + description='dummy random module to MicroPython', + url='https://github.com/micropython/micropython/issues/405', + author='MicroPython Developers', + author_email='micro-python@googlegroups.com', + license='MIT', + py_modules=['random'])