-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
74 lines (68 loc) · 2.21 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import phabfive
from setuptools import setup
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
with open("README.md") as f:
readme = f.read()
with open("CHANGELOG.md") as f:
changelog = f.read()
install_requires = [
"anyconfig>=0.10.0",
"appdirs",
"docopt",
"jinja2",
"phabricator",
"pyyaml",
]
tests_require = ["coverage", "flake8", "pytest", "tox", "tox-gh-actions"]
docs_require = ["mkdocs"]
download_url = f"https://github.com/dynamist/phabfive/tarball/v{phabfive.__version__}"
setup(
name=phabfive.__name__,
version=phabfive.__version__,
description=phabfive.__doc__,
long_description=f"{readme}\n\n{changelog}",
long_description_content_type="text/markdown",
author="Rickard Eriksson",
author_email="[email protected]",
url=phabfive.__url__,
download_url=download_url,
zip_safe=False, # Prevent creation of egg
install_requires=install_requires,
tests_require=tests_require,
extras_require={
"test": tests_require,
"docs": docs_require,
},
packages=["phabfive"],
entry_points={
"console_scripts": [
"phabfive = phabfive.cli:cli_entrypoint",
],
},
python_requires=">=3.9",
classifiers=[
# "Development Status :: 1 - Planning",
# "Development Status :: 2 - Pre-Alpha",
# "Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
# "Development Status :: 6 - Mature",
# "Development Status :: 7 - Inactive",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
],
platforms=["OS Independent"],
license="Apache License 2.0",
)