-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (50 loc) · 1.84 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
#!/usr/bin/env python
import os
from setuptools import setup
def get_version():
version_py_path = os.path.join("tcms_django_plugin", "version.py")
with open(version_py_path, encoding="utf-8") as version_file:
version = version_file.read()
return (
version.replace(" ", "")
.replace("__version__=", "")
.strip()
.strip("'")
.strip('"')
)
with open("README.rst", encoding="utf-8") as file:
LONG_DESCRIPTION = file.read()
with open("requirements.txt", encoding="utf-8") as file:
REQUIREMENTS = file.readlines()
setup(
name="kiwitcms-django-plugin",
version=get_version(),
packages=["tcms_django_plugin"],
description="Django test runner plugin for Kiwi TCMS",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/x-rst",
author="Bryan Mutai",
author_email="[email protected]",
maintainer="Kiwi TCMS",
maintainer_email="[email protected]",
license="GPLv3",
url="https://github.com/kiwitcms/django-plugin",
python_requires=">=3.6",
install_requires=REQUIREMENTS,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
],
)