forked from cloudnull/tribble
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (49 loc) · 1.98 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
#!/usr/bin/env python
# =============================================================================
# Copyright [2013] [Kevin Carter]
# License Information :
# This software has no warranty, it is provided 'as is'. It is your
# responsibility to validate the behavior of the routines and its accuracy
# using the code provided. Consult the GNU General Public license for further
# details (see GNU General Public License).
# http://www.gnu.org/licenses/gpl.html
# =============================================================================
import setuptools
import sys
from tribble import info
REQUIRES = ['python-novaclient>=2.15.0']
if sys.version_info < (2, 6, 0):
sys.stderr.write("MassBuilder Presently requires Python 2.6.0 or"
" greater\n")
raise SystemExit('Upgrade python because you version of it is VERY'
' deprecated\n')
elif sys.version_info < (2, 7, 0):
REQUIRES.append('argparse')
with open('README', 'rb') as r_file:
LDINFO = r_file.read()
setuptools.setup(
name=info.__appname__,
version=info.__version__,
author=info.__author__,
author_email=info.__email__,
description=info.__description__,
long_description=LDINFO,
license='GNU General Public License v3 or later (GPLv3+)',
packages=['tribble'],
url=info.__url__,
install_requires=REQUIRES,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
('License :: OSI Approved :: GNU General Public License v3 or later'
' (GPLv3+)'),
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules'],
entry_points={
"console_scripts": ["tribble = tribble.executable:execute"]}
)