diff --git a/asyncio_micro/metadata.txt b/asyncio_micro/metadata.txt new file mode 100644 index 00000000..bc3d83e4 --- /dev/null +++ b/asyncio_micro/metadata.txt @@ -0,0 +1,6 @@ +srctype = micropython-lib +type = module +version = 0.5 +author = Paul Sokolovsky +long_desc = Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess. +depends = heapq, errno, select, logging diff --git a/asyncio_micro/setup.py b/asyncio_micro/setup.py new file mode 100644 index 00000000..f0e017f2 --- /dev/null +++ b/asyncio_micro/setup.py @@ -0,0 +1,19 @@ +import sys +# Remove current dir from sys.path, otherwise setuptools will peek up our +# module instead of system. +sys.path.pop(0) +from setuptools import setup + + +setup(name='micropython-asyncio_micro', + version='0.5', + description='asyncio_micro module for MicroPython', + long_description='Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess.', + url='https://github.com/micropython/micropython/issues/405', + author='Paul Sokolovsky', + author_email='micro-python@googlegroups.com', + maintainer='MicroPython Developers', + maintainer_email='micro-python@googlegroups.com', + license='MIT', + py_modules=['asyncio_micro'], + install_requires=['micropython-heapq', 'micropython-errno', 'micropython-select', 'micropython-logging'])