2014-07-20 21:17:12 +00:00
|
|
|
import sys
|
2021-05-27 05:50:04 +00:00
|
|
|
|
2014-07-20 21:17:12 +00:00
|
|
|
# Remove current dir from sys.path, otherwise setuptools will peek up our
|
2016-10-11 03:47:01 +00:00
|
|
|
# module instead of system's.
|
2014-07-20 21:17:12 +00:00
|
|
|
sys.path.pop(0)
|
|
|
|
from setuptools import setup
|
2021-05-27 05:50:04 +00:00
|
|
|
|
2016-10-11 03:47:01 +00:00
|
|
|
sys.path.append("..")
|
2018-02-02 18:30:52 +00:00
|
|
|
import sdist_upip
|
2014-07-20 21:17:12 +00:00
|
|
|
|
2021-05-27 05:50:04 +00:00
|
|
|
setup(
|
|
|
|
name="micropython-uasyncio",
|
|
|
|
version="2.0",
|
|
|
|
description="Lightweight asyncio-like library for MicroPython, built around native Python coroutines.",
|
|
|
|
long_description=open("README.rst").read(),
|
|
|
|
url="https://github.com/micropython/micropython-lib",
|
|
|
|
author="Paul Sokolovsky",
|
|
|
|
author_email="micro-python@googlegroups.com",
|
|
|
|
maintainer="micropython-lib Developers",
|
|
|
|
maintainer_email="micro-python@googlegroups.com",
|
|
|
|
license="MIT",
|
|
|
|
cmdclass={"sdist": sdist_upip.sdist},
|
|
|
|
packages=["uasyncio"],
|
|
|
|
install_requires=["micropython-uasyncio.core"],
|
|
|
|
)
|