-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
65 lines (55 loc) · 2.13 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
import os.path
from setuptools import find_packages, setup
from pyage import __version__
# although fairly straight forward
# grabbed that one from Cython
def dev_status(version: str) -> str:
if "b" in version or "c" in version:
# 1b1, 1beta1, 2rc1, ...
return "Development Status :: 4 - Beta"
elif "a" in version:
# 1a1, 1alpha1, ...
return "Development Status :: 3 - Alpha"
else:
return "Development Status :: 5 - Production/Stable"
requirements_file = os.path.join(os.path.dirname(__file__), "requirements.txt")
with open(requirements_file, "r") as f:
requirements = f.read()
dev_requirements_file = os.path.join(os.path.dirname(__file__), "requirements-dev.txt")
with open(dev_requirements_file, "r") as f:
dev_requirements = f.read()
setup(
name="python-pyage",
version=__version__,
author="Toni Barth",
author_email="[email protected]",
url="https://github.com/Timtam/pyAGE",
packages=find_packages(),
package_data={
"pyage": ["py.typed"],
},
install_requires=requirements.splitlines(),
extras_require={
"dev": dev_requirements.splitlines()[1:],
},
license="GNU GPL v3",
classifiers=[
dev_status(__version__),
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Games/Entertainment",
"Topic :: Multimedia",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries :: pygame",
],
)