From e0a110efd85146e2e2fdf3895ee42ad39fecae69 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 11 Oct 2016 00:43:05 +0300 Subject: [PATCH] _libc: Release 0.3.1, gzip 4k. --- _libc/metadata.txt | 2 +- _libc/setup.py | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/_libc/metadata.txt b/_libc/metadata.txt index 14e65a6d..96cf9315 100644 --- a/_libc/metadata.txt +++ b/_libc/metadata.txt @@ -1,7 +1,7 @@ dist_name = libc srctype = micropython-lib type = module -version = 0.3 +version = 0.3.1 author = Paul Sokolovsky desc = MicroPython FFI helper module (deprecated) long_desc = MicroPython FFI helper module (deprecated, replaced by micropython-ffilib). diff --git a/_libc/setup.py b/_libc/setup.py index 659622eb..7ddd5eb9 100644 --- a/_libc/setup.py +++ b/_libc/setup.py @@ -1,18 +1,20 @@ import sys # Remove current dir from sys.path, otherwise setuptools will peek up our -# module instead of system. +# module instead of system's. sys.path.pop(0) from setuptools import setup - +sys.path.append("..") +import optimize_upip setup(name='micropython-libc', - version='0.3', + version='0.3.1', description='MicroPython FFI helper module (deprecated)', long_description='MicroPython FFI helper module (deprecated, replaced by micropython-ffilib).', - url='https://github.com/micropython/micropython/issues/405', + url='https://github.com/micropython/micropython-lib', author='Paul Sokolovsky', author_email='micro-python@googlegroups.com', maintainer='MicroPython Developers', maintainer_email='micro-python@googlegroups.com', license='MIT', + cmdclass={'optimize_upip': optimize_upip.OptimizeUpip}, py_modules=['_libc'])