-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
56 lines (47 loc) · 1.83 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
# Copyright (c) 2022-2024 Alexander Todorov <atodorov@otb.bg>
#
# Licensed under GNU Affero General Public License v3 or later (AGPLv3+)
# https://www.gnu.org/licenses/agpl-3.0.html
# pylint: disable=missing-docstring
from setuptools import setup, find_packages
def get_long_description():
with open("README.rst", "r", encoding="utf-8") as file:
return file.read()
def get_install_requires(path):
requires = []
with open(path, "r", encoding="utf-8") as file:
for line in file:
if line.startswith("-r "):
continue
requires.append(line.strip())
return requires
setup(
name="kiwitcms-trackers-integration",
version="1.1.0",
description="Integration between Kiwi TCMS and various Issue Trackers",
long_description=get_long_description(),
author="Kiwi TCMS",
author_email="info@kiwitcms.org",
url="https://github.com/kiwitcms/trackers-integration/",
license="AGPLv3+",
install_requires=get_install_requires("requirements.txt"),
include_package_data=True,
packages=find_packages(exclude=["test_project*", "*.tests"]),
zip_safe=False,
entry_points={
"kiwitcms.plugins": ["kiwitcms_trackers_integration = trackers_integration"]
},
classifiers=[
"Framework :: Django",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
],
)