From 6456fca976c6388a05d77316368f856b63f26a1b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 15 Feb 2015 00:45:59 +0800 Subject: [PATCH] upip: Add setup.py. --- upip/metadata.txt | 7 +++++++ upip/setup.py | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 upip/metadata.txt create mode 100644 upip/setup.py diff --git a/upip/metadata.txt b/upip/metadata.txt new file mode 100644 index 00000000..35c9a15c --- /dev/null +++ b/upip/metadata.txt @@ -0,0 +1,7 @@ +srctype = micropython-lib +type = module +version = 0.1 +author = Paul Sokolovsky +extra_modules = upip_errno, upip_gzip, upip_os, upip_os_path, upip_utarfile +desc = Simple package manager for MicroPython. +long_desc = Simple package manager for MicroPython, targetting to be self-hosted (but not yet there). Compatible only with packages without custom setup.py code. diff --git a/upip/setup.py b/upip/setup.py new file mode 100644 index 00000000..4210748f --- /dev/null +++ b/upip/setup.py @@ -0,0 +1,18 @@ +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-upip', + version='0.1', + description='Simple package manager for MicroPython.', + long_description='Simple package manager for MicroPython, targetting to be self-hosted (but not yet there). Compatible only with packages without custom setup.py code.', + 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=['upip', 'upip_errno', 'upip_gzip', 'upip_os', 'upip_os_path', 'upip_utarfile'])