Skip to content

Commit 6456fca

Browse files
committed
upip: Add setup.py.
1 parent 16431da commit 6456fca

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

upip/metadata.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
srctype = micropython-lib
2+
type = module
3+
version = 0.1
4+
author = Paul Sokolovsky
5+
extra_modules = upip_errno, upip_gzip, upip_os, upip_os_path, upip_utarfile
6+
desc = Simple package manager for MicroPython.
7+
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.

upip/setup.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import sys
2+
# Remove current dir from sys.path, otherwise setuptools will peek up our
3+
# module instead of system.
4+
sys.path.pop(0)
5+
from setuptools import setup
6+
7+
8+
setup(name='micropython-upip',
9+
version='0.1',
10+
description='Simple package manager for MicroPython.',
11+
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.',
12+
url='https://github.com/micropython/micropython/issues/405',
13+
author='Paul Sokolovsky',
14+
author_email='[email protected]',
15+
maintainer='MicroPython Developers',
16+
maintainer_email='[email protected]',
17+
license='MIT',
18+
py_modules=['upip', 'upip_errno', 'upip_gzip', 'upip_os', 'upip_os_path', 'upip_utarfile'])

0 commit comments

Comments
 (0)