From 670f475a5894608c98aab23e24ee7dab265c1c24 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 3 May 2015 22:39:19 +0300 Subject: [PATCH] curses.ascii: Add metadata. --- curses.ascii/metadata.txt | 3 +++ curses.ascii/setup.py | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 curses.ascii/metadata.txt create mode 100644 curses.ascii/setup.py diff --git a/curses.ascii/metadata.txt b/curses.ascii/metadata.txt new file mode 100644 index 00000000..d3c88d38 --- /dev/null +++ b/curses.ascii/metadata.txt @@ -0,0 +1,3 @@ +srctype = cpython +type = package +version = 3.4.2 diff --git a/curses.ascii/setup.py b/curses.ascii/setup.py new file mode 100644 index 00000000..ac9d7d4e --- /dev/null +++ b/curses.ascii/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-curses.ascii', + version='3.4.2', + description='CPython curses.ascii 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', + packages=['curses'])