From 45070229f06dddb92b1c26b7ecb5b2b0801f8659 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 15 Feb 2016 12:17:22 +0200 Subject: [PATCH] pystone_lowmem: Add metadata. --- pystone_lowmem/metadata.txt | 3 +++ pystone_lowmem/setup.py | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 pystone_lowmem/metadata.txt create mode 100644 pystone_lowmem/setup.py diff --git a/pystone_lowmem/metadata.txt b/pystone_lowmem/metadata.txt new file mode 100644 index 00000000..fc82994c --- /dev/null +++ b/pystone_lowmem/metadata.txt @@ -0,0 +1,3 @@ +srctype = cpython +type = module +version = 3.4.2-1 diff --git a/pystone_lowmem/setup.py b/pystone_lowmem/setup.py new file mode 100644 index 00000000..112ad82f --- /dev/null +++ b/pystone_lowmem/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-pystone_lowmem', + version='3.4.2-1', + description='CPython pystone_lowmem module ported to MicroPython', + long_description='This is a module ported from CPython standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.', + url='https://github.com/micropython/micropython/issues/405', + author='CPython Developers', + author_email='python-dev@python.org', + maintainer='MicroPython Developers', + maintainer_email='micro-python@googlegroups.com', + license='Python', + py_modules=['pystone_lowmem'])