diff options
Diffstat (limited to 'textproc/py-marko/files/setup.py')
-rw-r--r-- | textproc/py-marko/files/setup.py | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/textproc/py-marko/files/setup.py b/textproc/py-marko/files/setup.py new file mode 100644 index 000000000000..030fc4e7211e --- /dev/null +++ b/textproc/py-marko/files/setup.py @@ -0,0 +1,66 @@ + +# -*- coding: utf-8 -*- +from setuptools import setup + +import codecs + +with codecs.open('README.md', encoding="utf-8") as fp: + long_description = fp.read() +EXTRAS_REQUIRE = { + 'toc': [ + 'python-slugify', + ], + 'codehilite': [ + 'pygments', + ], + 'benchmark': [ + 'commonmark~=0.9', + 'markdown~=3.3', + 'markdown-it-py~=0.6', + 'mistune~=0.8', + 'mistletoe~=0.7', + ], +} +ENTRY_POINTS = { + 'console_scripts': [ + 'marko = marko.cli:main', + ], +} + +setup_kwargs = { + 'name': 'marko', + 'version': '1.1.0', + 'description': 'A markdown parser with high extensibility.', + 'long_description': long_description, + 'license': 'MIT', + 'author': '', + 'author_email': 'Frost Ming <mianghong@gmail.com>', + 'maintainer': None, + 'maintainer_email': None, + 'url': 'https://github.com/frostming/marko', + 'packages': [ + 'marko', + 'marko.ext', + 'marko.ext.gfm', + ], + 'package_data': {'': ['*']}, + 'long_description_content_type': 'text/markdown', + 'classifiers': [ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + ], + 'extras_require': EXTRAS_REQUIRE, + 'python_requires': '>=3.6', + 'entry_points': ENTRY_POINTS, + +} + + +setup(**setup_kwargs) |