kopia lustrzana https://github.com/micropython/micropython-lib
html.entities: Add pristine from Python-3.3.3 tarball.
rodzic
3df885dfa7
commit
d6f4241079
Plik diff jest za duży
Load Diff
|
@ -0,0 +1,25 @@
|
|||
import sys
|
||||
# Remove current dir from sys.path, otherwise distutils 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),
|
||||
url='https://github.com/micropython/micropython/issues/405',
|
||||
author='CPython Developers',
|
||||
maintainer='MicroPython Developers',
|
||||
maintainer_email='micro-python@googlegroups.com',
|
||||
license='Python',
|
||||
packages=[pkg_name(NAME)])
|
Ładowanie…
Reference in New Issue