-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
58 lines (49 loc) · 1.86 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
#!/usr/bin/env python
# pylint: disable=missing-docstring
import os
from setuptools import setup
def get_version():
version_py_path = os.path.join("tcms_junit_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 readme:
LONG_DESCRIPTION = readme.read()
with open("requirements.txt", encoding="utf-8") as requirements:
REQUIREMENTS = requirements.readlines()
setup(
name="kiwitcms-junit.xml-plugin",
version=get_version(),
packages=["tcms_junit_plugin"],
scripts=["tcms-junit.xml-plugin"],
description="junit.xml plugin for " "Kiwi TCMS test case management system",
long_description=LONG_DESCRIPTION,
author="Kiwi TCMS",
author_email="[email protected]",
license="GPLv3+",
url="https://github.com/kiwitcms/junit.xml-plugin",
install_requires=REQUIREMENTS,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
],
)