/
setup.py
89 lines (76 loc) · 2.15 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
# -*- 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 = [
'PyMySQL == 0.7.11',
'beautifulsoup4 >= 4.1.1',
'celery == 4.1.0',
'django-contrib-comments == 1.8.0',
'django-tinymce == 2.6.0',
'django-uuslug == 1.1.8',
'django >= 1.10,<2.0',
'html2text',
'kobo == 0.7.0',
'odfpy >= 0.9.6',
'six',
'xmltodict',
]
extras_require = {
# Required for tcms.core.contrib.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': [
'coverage',
'factory_boy',
'flake8',
'mock',
'pytest',
'pytest-cov',
'pytest-django',
],
# Contain tools that assists the development
'devtools': [
'django-debug-toolbar == 1.7',
'tox',
]
}
setup(
name='Nitrate',
version=pkg_version,
description='Test Case Management System',
long_description=get_long_description(),
author='Nitrate Team',
maintainer='Chenxiong Qi',
maintainer_email='qcxhome@gmail.com',
url='https://github.com/Nitrate/Nitrate/',
license='GPLv2+',
keywords='test case',
install_requires=install_requires,
extras_require=extras_require,
packages=find_packages(),
include_package_data=True,
classifiers=[
'Framework :: Django',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
],
)