-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
52 lines (48 loc) · 1.98 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
# Guides:
# https://packaging.python.org/tutorials/packaging-projects/
# https://packaging.python.org/guides/distributing-packages-using-setuptools/
# References:
# https://github.com/jendrikseipp/txt2tags/blob/master/setup.py
# https://github.com/mystor/git-revise/blob/master/setup.py
# https://github.com/docopt/docopt/blob/master/setup.py
# https://github.com/psf/requests/blob/master/setup.py
# https://github.com/psf/black/blob/master/setup.py
# https://github.com/pypa/pip/blob/master/setup.py
import setuptools
import sedparse
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
setuptools.setup(
name="sedparse",
version=sedparse.__version__,
author="Aurelio Jargas",
author_email="[email protected]",
description="GNU sed's parser translated from C to Python",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/aureliojargas/sedparse",
project_urls={
"Bug Tracker": "https://github.com/aureliojargas/sedparse/issues",
"Source Code": "https://github.com/aureliojargas/sedparse",
},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python",
"Topic :: Software Development",
],
py_modules=["sedparse"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
entry_points={"console_scripts": ["sedparse = sedparse:entrypoint"]},
)