Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
60 lines (54 loc) · 2.02 KB
/
Copy pathsetup.py
File metadata and controls
60 lines (54 loc) · 2.02 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2019 Dmitry Dygalo <dadygalo@gmail.com>
# Copyright (c) 2021 Bryan Mutai <mutaiwork@gmail.com>
# Copyright (c) 2021-2026 Alexander Todorov <atodorov@otb.bg>
#
# Licensed under the GPLv3: https://www.gnu.org/licenses/gpl.html
importos
fromsetuptoolsimportsetup
defget_version():
version_py_path=os.path.join("tcms_pytest_plugin", "version.py")
withopen(version_py_path, encoding="utf-8") asversion_file:
version=version_file.read()
return (
version.replace(" ", "")
.replace("__version__=", "")
.strip()
.strip("'")
.strip('"')
)
withopen("README.rst", encoding="utf-8") asreadme:
README=readme.read()
withopen("requirements.txt", encoding="utf-8") asrequirements:
REQUIREMENTS=requirements.readlines()
setup(
name="kiwitcms-pytest-plugin",
version=get_version(),
maintainer="Kiwi TCMS",
maintainer_email="info@kiwitcms.org",
url="https://github.com/kiwitcms/pytest-plugin",
description="Pytest plugin for Kiwi TCMS test case management system",
long_description=README,
packages=["tcms_pytest_plugin"],
python_requires=">=3.6",
install_requires=REQUIREMENTS,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
],
entry_points={"pytest11": ["tcms_pytest_plugin = tcms_pytest_plugin"]},
)