-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (62 loc) · 2.06 KB
/
Copy pathsetup.py
File metadata and controls
67 lines (62 loc) · 2.06 KB
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
"""
Florgon Gatey SDK.
Setup tools script.
"""
import os
from setuptools import setup, find_packages
# Read and pass all data from version file (module.)
version_file = {}
with open(
os.path.join(
os.path.abspath(os.path.dirname(__file__)), "gatey_sdk", "__version__.py"
),
"r",
"utf-8",
) as f:
exec(f.read(), version_file)
# Read whole readme file.
with open("README.md", "r", "utf-8") as f:
readme = f.read()
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
project_urls = {
"Documentation": "https://github.com/florgon/gatey-sdk-py",
"Source": "https://github.com/florgon/gatey-sdk-py",
}
setup(
name=version_file["__title__"],
version=version_file["__version__"],
description=version_file["__description__"],
long_description=readme,
long_description_content_type="text/markdown",
author=version_file["__author__"],
author_email=version_file["__author_email__"],
url=version_file["__url__"],
packages=find_packages(),
package_data={"": ["LICENSE"], "gatey_sdk": ["py.typed"]},
package_dir={"gatey_sdk": "gatey_sdk"},
include_package_data=True,
license=version_file["__license__"],
python_requires=">=3.7",
install_requires=["requests^2.28.1"],
classifiers=classifiers,
project_urls=project_urls,
zip_safe=False,
)