-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
55 lines (50 loc) · 1.73 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
import pathlib
import pkg_resources
import setuptools
import versioneer
install_requires = []
with pathlib.Path("requirements.txt").open() as requirements_txt:
install_requires = [str(requirement) for requirement in pkg_resources.parse_requirements(requirements_txt)]
setuptools.setup(
name="zorak",
description="An installable version of the Zorak.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
package_dir={"": "src"},
include_package_data=True,
packages=setuptools.find_packages(where="src"),
entry_points={"console_scripts": ["zorak=zorak.__main__:main"]},
package_data={"": ["*.toml"]},
install_requires=install_requires,
classifiers=[
# see https://pypi.org/classifiers/
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
extras_require={
"dev": [
"cfgv==3.4.0",
"distlib==0.3.9",
"filelock==3.16.1",
"identify==2.6.5",
"nodeenv==1.9.1",
"platformdirs==4.3.6",
"pre-commit==3.8.0",
"PyYAML==6.0.2",
"ruff==0.9.1",
"virtualenv==20.28.1",
"versioneer",
],
# 'test': ['coverage'],
},
)