2015-06-04 21:46:08 +00:00
|
|
|
import sys
|
2021-05-27 05:50:04 +00:00
|
|
|
|
2015-06-04 21:46:08 +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.
|
2015-06-04 21:46:08 +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
|
2015-06-04 21:46:08 +00:00
|
|
|
|
2021-05-27 05:50:04 +00:00
|
|
|
setup(
|
|
|
|
name="micropython-ffilib",
|
|
|
|
version="0.1.3",
|
|
|
|
description="MicroPython FFI helper module",
|
|
|
|
long_description="MicroPython FFI helper module to easily interface with underlying shared libraries",
|
|
|
|
url="https://github.com/micropython/micropython-lib",
|
|
|
|
author="Damien George",
|
|
|
|
author_email="micro-python@googlegroups.com",
|
|
|
|
maintainer="micropython-lib Developers",
|
|
|
|
maintainer_email="micro-python@googlegroups.com",
|
|
|
|
license="MIT",
|
|
|
|
cmdclass={"sdist": sdist_upip.sdist},
|
|
|
|
py_modules=["ffilib"],
|
|
|
|
)
|