-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (43 loc) · 1.25 KB
/
setup.py
File metadata and controls
46 lines (43 loc) · 1.25 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
import setuptools
with open("./testapp/__init__.py") as f:
(
productname,
version,
description,
url,
docs,
author,
email,
license_,
bug_tracker,
) = [l.split('"')[1] for l in f.readlines()[:9]]
with open("./README.md") as f:
long_description = f.read()
setuptools.setup(
name=productname,
version=version,
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
url=url,
author=author,
author_email=email,
license=license_,
classifiers=[ # Find more classifiers at: https://pypi.org/classifiers/
# "Development Status :: 1 - Planning",
# "Development Status :: 2 - Pre-Alpha",
"Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
],
project_urls={
"Documentation": docs,
"Source": url,
"Bug Tracker": bug_tracker,
},
python_requires=">=3.6.0",
packages=setuptools.find_packages(exclude=["tests*"]),
)