-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
56 lines (49 loc) · 1.9 KB
/
setup.py
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
from codecs import open
from os import path
from setuptools import setup, find_packages
import sphinx_markdown_parser
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
install_requires = []
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
install_requires.extend(f.readlines())
setup(
name='sphinx_markdown_parser',
version=sphinx_markdown_parser.__version__,
description=(
'A docutils-compatibility bridge to markdown, '
'enabling you to write markdown with support for tables '
'inside of docutils & sphinx projects.'
),
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/codejamninja/sphinx-markdown-parser',
author='Jam Risser',
author_email='[email protected]',
license='MIT',
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='sphinx docs documentation markdown',
packages=['sphinx_markdown_parser'],
install_requires=install_requires,
include_package_data=True,
entry_points={
'console_scripts': [
'md2html = sphinx_markdown_parser.scripts:md2html',
'md2latex = sphinx_markdown_parser.scripts:md2latex',
'md2man = sphinx_markdown_parser.scripts:md2man',
'md2pseudoxml = sphinx_markdown_parser.scripts:md2pseudoxml',
'md2xetex = sphinx_markdown_parser.scripts:md2xetex',
'md2xml = sphinx_markdown_parser.scripts:md2xml',
]
}
)