summaryrefslogtreecommitdiff
path: root/textproc/py-marko/files/setup.py
blob: b3ff443756e7642ba199cf84cc5c2cdb93de2892 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -*- 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',
    ],
}
ENTRY_POINTS = {
    'console_scripts': [
        'marko = marko.cli:main',
    ],
}

setup_kwargs = {
    'name': 'marko',
    'version': '%%PORTVERSION%%',
    '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',
        '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',
        'Programming Language :: Python :: 3.10',
    ],
    'extras_require': EXTRAS_REQUIRE,
    'python_requires': '>=3.6',
    'entry_points': ENTRY_POINTS,
}

setup(**setup_kwargs)