forked from SatelliteQE/nailgun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·59 lines (46 loc) · 1.52 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
#!/usr/bin/env python
"""A setuptools-based script for installing NailGun.
For more information, see:
* https://packaging.python.org/en/latest/index.html
* https://docs.python.org/distutils/sourcedist.html
"""
import sys
from setuptools import find_packages, setup # prefer setuptools over distutils
with open('README.rst') as handle:
LONG_DESCRIPTION = handle.read()
with open('VERSION') as handle:
VERSION = handle.read().strip()
REQUIREMENTS = [
'inflection',
'packaging',
'pyxdg',
'requests>=2.7',
'blinker_herald'
]
if sys.version_info >= (3, 0):
REQUIREMENTS.append('fauxfactory')
else:
# Fauxfactory 3.0+ dropped support for Python 2.x
REQUIREMENTS.append('fauxfactory<3.0')
setup(
name='nailgun',
version=VERSION,
description='A library that facilitates easy usage of the Satellite 6 API',
long_description=LONG_DESCRIPTION,
url='https://github.com/SatelliteQE/nailgun',
author='Jeremy Audet',
author_email='[email protected]',
license='GPLv3',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
('License :: OSI Approved :: GNU General Public License v3 or later '
'(GPLv3+)'),
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
packages=find_packages(exclude=['docs', 'tests']),
install_requires=REQUIREMENTS,
)