This repository has been archived by the owner on Dec 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
63 lines (58 loc) · 2.14 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
#!/usr/bin/env python
# =============================================================================
# Copyright [2015] [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
import turbolift
with open('requirements.txt') as f:
required = f.read().splitlines()
if sys.version_info < (2, 6, 0):
sys.stderr.write("Turbolift Presently requires Python 2.6.0 or greater \n")
raise SystemExit(
'\nUpgrade python because you version of it is VERY deprecated\n'
)
elif sys.version_info < (2, 7, 0):
required.append('argparse')
with open('README', 'rb') as r_file:
LDINFO = r_file.read()
setuptools.setup(
name=turbolift.__appname__,
version=turbolift.__version__,
author=turbolift.__author__,
author_email=turbolift.__email__,
description=turbolift.__description__,
long_description=LDINFO,
license='GNU General Public License v3 or later (GPLv3+)',
packages=[
'turbolift',
'turbolift.authentication',
'turbolift.clouderator',
'turbolift.methods'
],
url=turbolift.__url__,
install_requires=required,
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": [
"turbolift = turbolift.executable:execute"
]
}
)