forked from tav/bolt-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·60 lines (52 loc) · 1.85 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
#! /usr/bin/env python
# Public Domain (-) 2011 The Bolt Authors.
# See the Bolt UNLICENSE file for details.
import sys
from setuptools import setup
# ------------------------------------------------------------------------------
# Check Version
# ------------------------------------------------------------------------------
if (not hasattr(sys, 'version_info')) or sys.version_info < (2, 6):
print("ERROR: Bolt only works on Python 2.6+")
sys.exit(1)
if sys.version_info > (3,):
print("ERROR: Bolt doesn't work on Python 3.x yet, only on Python 2.6+")
sys.exit(1)
# ------------------------------------------------------------------------------
# Run Setup
# ------------------------------------------------------------------------------
setup(
name="bolt",
author="tav",
author_email="[email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: Public Domain",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Clustering",
"Topic :: System :: Software Distribution",
"Topic :: System :: Systems Administration"
],
description="Multi-server automation and deployment toolkit",
entry_points=dict(console_scripts=[
"bolt = bolt.core:main"
]),
install_requires=[
'paramiko >=1.7.6',
'pycrypto >= 1.9',
"PyYAML>=3.09",
"tavutil>=1.0"
],
keywords=["admin", "deployment", "ssh"],
license="Public Domain",
long_description=open('README.rst').read(),
packages=["bolt"],
url="https://github.com/tav/bolt",
version="0.9",
zip_safe=True
)