kopia lustrzana https://github.com/micropython/micropython-lib
socket: Switch to metadata.txt.
rodzic
9b3688f98a
commit
5c1b7e4885
|
@ -0,0 +1,4 @@
|
|||
srctype = micropython-lib
|
||||
type = module
|
||||
version = 0.0.2
|
||||
author = Paul Sokolovsky
|
|
@ -1,24 +1,18 @@
|
|||
import sys
|
||||
# Remove current dir from sys.path, otherwise distutils will peek up our
|
||||
# Remove current dir from sys.path, otherwise setuptools will peek up our
|
||||
# module instead of system.
|
||||
sys.path.pop(0)
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
def desc_dummy(name):
|
||||
return 'Dummy %s module to MicroPython' % name
|
||||
def desc_cpython(name):
|
||||
return 'CPython %s module ported to MicroPython' % name
|
||||
def desc_upython(name):
|
||||
return '%s module for MicroPython' % name
|
||||
|
||||
NAME = 'socket'
|
||||
|
||||
setup(name='micropython-' + NAME,
|
||||
version='0.0.1',
|
||||
description=desc_upython(NAME),
|
||||
setup(name='micropython-socket',
|
||||
version='0.0.2',
|
||||
description='socket 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='Paul Sokolovsky',
|
||||
author_email='micro-python@googlegroups.com',
|
||||
maintainer='MicroPython Developers',
|
||||
maintainer_email='micro-python@googlegroups.com',
|
||||
license='MIT',
|
||||
py_modules=[NAME])
|
||||
py_modules=['socket'])
|
||||
|
|
Ładowanie…
Reference in New Issue