micropython-lib/html.entities/setup.py

26 wiersze
745 B
Python
Czysty Zwykły widok Historia

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)])