From 15afe94217ffd9c45965f40e9aa0e4fdac6440d1 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 24 May 2015 17:32:57 +0300 Subject: [PATCH] poplib: Add dummy module. --- poplib/metadata.txt | 3 +++ poplib/poplib.py | 0 poplib/setup.py | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 poplib/metadata.txt create mode 100644 poplib/poplib.py create mode 100644 poplib/setup.py diff --git a/poplib/metadata.txt b/poplib/metadata.txt new file mode 100644 index 00000000..357bcc3b --- /dev/null +++ b/poplib/metadata.txt @@ -0,0 +1,3 @@ +srctype=dummy +type=module +version=0.0.0 diff --git a/poplib/poplib.py b/poplib/poplib.py new file mode 100644 index 00000000..e69de29b diff --git a/poplib/setup.py b/poplib/setup.py new file mode 100644 index 00000000..d111e3f0 --- /dev/null +++ b/poplib/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-poplib', + version='0.0.0', + description='Dummy poplib module for MicroPython', + long_description='This is a dummy implementation of a module for MicroPython standard library.\nIt contains zero or very little functionality, and primarily intended to\navoid import errors (using idea that even if an application imports a\nmodule, it may be not using it onevery code path, so may work at least\npartially). It is expected that more complete implementation of the module\nwill be provided later. Please help with the development if you are\ninterested in this module.', + url='https://github.com/micropython/micropython/issues/405', + author='MicroPython Developers', + author_email='micro-python@googlegroups.com', + maintainer='MicroPython Developers', + maintainer_email='micro-python@googlegroups.com', + license='MIT', + py_modules=['poplib'])