From dfbc8b4520851b7f448e09a31cc0e9a44c082ede Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 24 May 2014 15:36:40 +0300 Subject: [PATCH] email.utils: Add metadata. --- email.utils/metadata.txt | 4 ++++ email.utils/setup.py | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 email.utils/metadata.txt create mode 100644 email.utils/setup.py diff --git a/email.utils/metadata.txt b/email.utils/metadata.txt new file mode 100644 index 00000000..ae240e16 --- /dev/null +++ b/email.utils/metadata.txt @@ -0,0 +1,4 @@ +srctype = cpython +type = package +version = 0.5 +depends = os, re-pcre, base64, random, datetime, urlib.parse, warnings, quopri, email.charset diff --git a/email.utils/setup.py b/email.utils/setup.py new file mode 100644 index 00000000..87d33f56 --- /dev/null +++ b/email.utils/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.utils', + version='0.5', + description='CPython email.utils 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-os', 'micropython-re-pcre', 'micropython-base64', 'micropython-random', 'micropython-datetime', 'micropython-urlib.parse', 'micropython-warnings', 'micropython-quopri', 'micropython-email.charset'])