From c0ab28571bf42611dc922e6c0f0e08375ca983cc Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 1 May 2014 02:42:43 +0300 Subject: [PATCH] random: Add module placeholder. --- random/random.py | 0 random/setup.py | 14 ++++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 random/random.py create mode 100644 random/setup.py 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'])