This repository has been archived by the owner on Mar 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
/
setup.py
75 lines (64 loc) · 2.22 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
from setuptools import setup, find_packages, Command
import io
from os import path
class Test(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
import sys
errno = subprocess.call([
sys.executable, 'commonmark/tests/run_spec_tests.py'])
raise SystemExit(errno)
tests_require = [
'flake8==3.9.2',
'hypothesis==4.24.4',
]
this_directory = path.abspath(path.dirname(__file__))
with io.open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="commonmark",
packages=find_packages(exclude=['tests']),
version="0.9.1",
license="BSD-3-Clause",
description="Python parser for the CommonMark Markdown spec",
long_description=long_description,
long_description_content_type='text/x-rst',
author="Bibek Kafle <[email protected]>, " +
"Roland Shoemaker <[email protected]>",
author_email="[email protected]",
maintainer="Nikolas Nyby",
maintainer_email="[email protected]",
url="https://github.com/rtfd/commonmark.py",
keywords=["markup", "markdown", "commonmark"],
entry_points={
'console_scripts': [
'cmark = commonmark.cmark:main',
]
},
cmdclass={'test': Test},
install_requires=[
'future>=0.14.0;python_version<"3"',
],
tests_require=tests_require,
extras_require={'test': tests_require},
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Documentation",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup",
"Topic :: Utilities"])