From 67cf02d715d9dc275694f05332441e4e3efa9d4a Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 24 May 2014 16:12:09 +0300 Subject: [PATCH] email.header: Add metadata. --- email.header/metadata.txt | 4 ++++ email.header/setup.py | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 email.header/metadata.txt create mode 100644 email.header/setup.py diff --git a/email.header/metadata.txt b/email.header/metadata.txt new file mode 100644 index 00000000..fc4f58b3 --- /dev/null +++ b/email.header/metadata.txt @@ -0,0 +1,4 @@ +srctype = cpython +type = package +version = 0.5 +depends = re-pcre, binascii, email.encoders, email.errors, email.charset diff --git a/email.header/setup.py b/email.header/setup.py new file mode 100644 index 00000000..fad4fe23 --- /dev/null +++ b/email.header/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.header', + version='0.5', + description='CPython email.header 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-re-pcre', 'micropython-binascii', 'micropython-email.encoders', 'micropython-email.errors', 'micropython-email.charset'])