kopia lustrzana https://github.com/micropython/micropython-lib
html.entities: Add metadata.txt, release 3.3.3.
rodzic
6e64994ec2
commit
2e3b28cd15
|
@ -0,0 +1,3 @@
|
|||
srctype=cpython
|
||||
type=package
|
||||
version=3.3.3
|
|
@ -1,25 +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 pkg_name(name):
|
||||
return name.split('.', 1)[0]
|
||||
|
||||
NAME = 'html.entities'
|
||||
|
||||
setup(name='micropython-' + NAME,
|
||||
version='0.5',
|
||||
description=desc_cpython(NAME),
|
||||
setup(name='micropython-html.entities',
|
||||
version='3.3.3',
|
||||
description='CPython html.entities module ported to MicroPython',
|
||||
long_description='This is a module ported from CPython standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.',
|
||||
url='https://github.com/micropython/micropython/issues/405',
|
||||
author='CPython Developers',
|
||||
author_email='python-dev@python.org',
|
||||
maintainer='MicroPython Developers',
|
||||
maintainer_email='micro-python@googlegroups.com',
|
||||
license='Python',
|
||||
packages=[pkg_name(NAME)])
|
||||
packages=['html'])
|
||||
|
|
Ładowanie…
Reference in New Issue