From 568db3c1af2d46007908b10c0a1e907a736aaff5 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 8 Apr 2015 21:12:15 +0300 Subject: [PATCH] tty: Add metadata. --- tty/metadata.txt | 3 +++ tty/setup.py | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 tty/metadata.txt create mode 100644 tty/setup.py diff --git a/tty/metadata.txt b/tty/metadata.txt new file mode 100644 index 00000000..cc1fdba5 --- /dev/null +++ b/tty/metadata.txt @@ -0,0 +1,3 @@ +srctype = micropython-lib +type = module +version = 1.0 diff --git a/tty/setup.py b/tty/setup.py new file mode 100644 index 00000000..cd9f23a7 --- /dev/null +++ b/tty/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-tty', + version='1.0', + description='tty module for MicroPython', + long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.", + 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=['tty'])