From 3b122e2b89ebe65cb159a14078a8d7674936f35c Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 24 May 2014 15:20:33 +0300 Subject: [PATCH] email.charset: Add metadata. --- email.charset/metadata.txt | 4 ++++ email.charset/setup.py | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 email.charset/metadata.txt create mode 100644 email.charset/setup.py diff --git a/email.charset/metadata.txt b/email.charset/metadata.txt new file mode 100644 index 00000000..93f14bff --- /dev/null +++ b/email.charset/metadata.txt @@ -0,0 +1,4 @@ +srctype = cpython +type = package +version = 0.5 +depends = functools, email.encoders, email.errors diff --git a/email.charset/setup.py b/email.charset/setup.py new file mode 100644 index 00000000..0208c638 --- /dev/null +++ b/email.charset/setup.py @@ -0,0 +1,19 @@ +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-email.charset', + version='0.5', + description='CPython email.charset 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=['email'], + install_requires=['micropython-functools', 'micropython-email.encoders', 'micropython-email.errors'])