2015-02-14 16:45:59 +00:00
|
|
|
import sys
|
|
|
|
# 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-02-14 16:45:59 +00:00
|
|
|
sys.path.pop(0)
|
|
|
|
from setuptools import setup
|
2016-10-11 03:47:01 +00:00
|
|
|
sys.path.append("..")
|
|
|
|
import optimize_upip
|
2015-02-14 16:45:59 +00:00
|
|
|
|
|
|
|
setup(name='micropython-upip',
|
2017-09-30 01:21:32 +00:00
|
|
|
version='1.2.2',
|
2015-02-14 16:45:59 +00:00
|
|
|
description='Simple package manager for MicroPython.',
|
2016-10-04 21:32:33 +00:00
|
|
|
long_description='Simple self-hosted package manager for MicroPython (requires usocket, ussl, uzlib, uctypes builtin modules). Compatible only with packages without custom setup.py code.',
|
2016-10-11 03:47:01 +00:00
|
|
|
url='https://github.com/micropython/micropython-lib',
|
2015-02-14 16:45:59 +00:00
|
|
|
author='Paul Sokolovsky',
|
|
|
|
author_email='micro-python@googlegroups.com',
|
|
|
|
maintainer='MicroPython Developers',
|
|
|
|
maintainer_email='micro-python@googlegroups.com',
|
|
|
|
license='MIT',
|
2016-10-11 03:47:01 +00:00
|
|
|
cmdclass={'optimize_upip': optimize_upip.OptimizeUpip},
|
2016-10-04 21:32:33 +00:00
|
|
|
py_modules=['upip', 'upip_utarfile'])
|