diff --git a/heapq/setup.py b/heapq/setup.py new file mode 100644 index 00000000..bf0c50e9 --- /dev/null +++ b/heapq/setup.py @@ -0,0 +1,16 @@ +import sys +# Remove current dir from sys.path, otherwise distutils will peek up our +# copy module instead of system. +sys.path.pop(0) +from setuptools import setup + +setup(name='micropython-heapq', + version='0.9', + description='CPython heapq module ported to MicroPython', + url='https://github.com/micropython/micropython/issues/405', + author='CPython Developers', + maintainer='MicroPython Developers', + maintainer_email='micro-python@googlegroups.com', + license='Python', + install_requires=['micropython-itertools'], + py_modules=['heapq'])