forked from RallyTools/RallyRestToolkitForPython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (57 loc) · 2.18 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
#try:
# from distutils2.core import setup
#except:
# try:
# from distutils.core import setup
# except:
# from setuptools import setup
from setuptools import setup
PACKAGE = 'pyral'
VERSION = '1.4.2'
OFFICIAL_NAME = 'Python toolkit for Agile Central (Rally) REST API'
PKG_URL_NAME = 'python-toolkit-rally-rest-api'
AUTHOR = 'Kip Lehman (CA Technologies, AgileCentral Business Unit)'
AUTHOR_EMAIL = 'klehman@rallydev.com'
LICENSE = 'BSD'
GITHUB_SITE = 'https://github.com/RallyTools/RallyRestToolkitForPython'
GITHUB_DISTS = '%s/raw/master/dists' % GITHUB_SITE
DOWNLOADABLE_ZIP = '%s/%s-%s.zip' % (GITHUB_DISTS, PACKAGE, VERSION)
SHORT_DESCRIPTION = 'README.short'
FULL_DESCRIPTION = 'README.rst'
KEYWORDS = ['rally', 'agilecentral', 'api']
MINIMUM_REQUESTS_VERSION = '2.12.5' # although 2.19.x is recommended
REQUIRES = ['six',
'requests>=%s' % MINIMUM_REQUESTS_VERSION
]
PLATFORM = 'any'
CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
]
DOCUMENTATION = 'http://pyral.readthedocs.io/en/latest/'
setup(name=PACKAGE,
packages=[PACKAGE],
version=VERSION,
description=OFFICIAL_NAME,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=GITHUB_SITE,
download_url=DOWNLOADABLE_ZIP,
long_description=open(FULL_DESCRIPTION, 'r').read(),
license=LICENSE,
keywords=KEYWORDS,
install_requires=REQUIRES,
classifiers=CLASSIFIERS
)