From 9f4f3ca261b047e27a5d240904b7aee3349f598b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 3 Apr 2015 00:14:40 +0300 Subject: [PATCH] pystone: Add metadata. --- pystone/metadata.txt | 3 +++ pystone/setup.py | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 pystone/metadata.txt create mode 100644 pystone/setup.py diff --git a/pystone/metadata.txt b/pystone/metadata.txt new file mode 100644 index 00000000..fc82994c --- /dev/null +++ b/pystone/metadata.txt @@ -0,0 +1,3 @@ +srctype = cpython +type = module +version = 3.4.2-1 diff --git a/pystone/setup.py b/pystone/setup.py new file mode 100644 index 00000000..11f57a4b --- /dev/null +++ b/pystone/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', + version='3.4.2-1', + description='CPython pystone 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'])