From 1e8d6f830d4602ce004a4d3297f912aa852d5cf6 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 12 May 2015 01:22:37 +0300 Subject: [PATCH] textwrap: Add metadata. --- textwrap/metadata.txt | 3 +++ textwrap/setup.py | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 textwrap/metadata.txt create mode 100644 textwrap/setup.py diff --git a/textwrap/metadata.txt b/textwrap/metadata.txt new file mode 100644 index 00000000..065220a0 --- /dev/null +++ b/textwrap/metadata.txt @@ -0,0 +1,3 @@ +srctype = cpython +type = module +version = 3.4.2 diff --git a/textwrap/setup.py b/textwrap/setup.py new file mode 100644 index 00000000..5dede890 --- /dev/null +++ b/textwrap/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-textwrap', + version='3.4.2', + description='CPython textwrap 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=['textwrap'])