forked from Nitrate/Nitrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
110 lines (95 loc) · 2.79 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('VERSION.txt', 'r') as f:
pkg_version = f.read().strip()
def get_long_description():
with open('README.rst', 'r') as f:
return f.read()
install_requires = [
'beautifulsoup4 >= 4.1.1',
'django >= 2.1,<3.1',
'django-contrib-comments',
'django-tinymce',
'django-uuslug',
'html2text',
'odfpy >= 0.9.6',
'python-bugzilla',
'xmltodict',
'kobo'
]
extras_require = {
'mysql': ['mysqlclient >= 1.2.3'],
'pgsql': ['psycopg2-binary == 2.8.5'],
# Required for tcms.auth.backends.KerberosBackend
'krbauth': [
'kerberos == 1.2.5'
],
# Packages for building documentation
'docs': [
'Sphinx >= 1.1.2',
'sphinx_rtd_theme',
],
# Necessary packages for running tests
'tests': [
'beautifulsoup4',
'coverage',
'factory_boy',
'flake8',
'pytest',
'pytest-cov',
'pytest-django',
],
# Contain tools that assists the development
'devtools': [
'django-debug-toolbar',
'tox',
'django-extensions',
'pygraphviz',
],
# Required packages required to run async tasks
'async': [
'celery == 4.4.2',
],
'multiauth': [
'social-auth-app-django == 3.1.0',
]
}
setup(
name='nitrate-tcms',
version=pkg_version,
description='A full-featured Test Case Management System',
long_description=get_long_description(),
author='Nitrate Team',
maintainer='Chenxiong Qi',
maintainer_email='[email protected]',
url='https://github.com/Nitrate/Nitrate/',
license='GPLv2+',
keywords='test case',
install_requires=install_requires,
extras_require=extras_require,
python_requires='>=3.6',
package_dir={'': 'src'},
packages=find_packages('src', exclude=['test*']),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Django',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
],
project_urls={
'Issue Tracker': 'https://github.com/Nitrate/Nitrate/issues',
'Source Code': 'https://github.com/Nitrate/Nitrate',
'Documentation': 'https://nitrate.readthedocs.io/',
},
)