From 1bde1058ce728e10eab641d4d4b5dfe1d705e387 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 17 Dec 2017 20:56:13 +0200 Subject: [PATCH] udnspkt: Release 0.1. --- udnspkt/metadata.txt | 5 +++++ udnspkt/setup.py | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 udnspkt/metadata.txt create mode 100644 udnspkt/setup.py diff --git a/udnspkt/metadata.txt b/udnspkt/metadata.txt new file mode 100644 index 00000000..b3d97e3c --- /dev/null +++ b/udnspkt/metadata.txt @@ -0,0 +1,5 @@ +srctype = micropython-lib +type = module +version = 0.1 +author = Paul Sokolovsky +desc = Make and parse DNS packets (Sans I/O approach). diff --git a/udnspkt/setup.py b/udnspkt/setup.py new file mode 100644 index 00000000..679ce9c5 --- /dev/null +++ b/udnspkt/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-udnspkt', + version='0.1', + description='Make and parse DNS packets (Sans I/O approach).', + 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-lib', + author='Paul Sokolovsky', + 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=['udnspkt'])