From 935509ac4ba86d75db536b243b3fcb3a806bac2b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 20 Aug 2017 17:59:54 +0300 Subject: [PATCH] ssl: Release 0.0.1. --- ssl/metadata.txt | 3 +++ ssl/setup.py | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 ssl/metadata.txt create mode 100644 ssl/setup.py diff --git a/ssl/metadata.txt b/ssl/metadata.txt new file mode 100644 index 00000000..dc5f60a6 --- /dev/null +++ b/ssl/metadata.txt @@ -0,0 +1,3 @@ +srctype = dummy +type = module +version = 0.0.1 diff --git a/ssl/setup.py b/ssl/setup.py new file mode 100644 index 00000000..abc85582 --- /dev/null +++ b/ssl/setup.py @@ -0,0 +1,20 @@ +import sys +# Remove current dir from sys.path, otherwise setuptools will peek up our +# module instead of system's. +sys.path.pop(0) +from setuptools import setup +sys.path.append("..") +import optimize_upip + +setup(name='micropython-ssl', + version='0.0.1', + description='Dummy ssl 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-lib', + author='MicroPython Developers', + author_email='micro-python@googlegroups.com', + maintainer='MicroPython Developers', + maintainer_email='micro-python@googlegroups.com', + license='MIT', + cmdclass={'optimize_upip': optimize_upip.OptimizeUpip}, + py_modules=['ssl'])