-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
executable file
·58 lines (51 loc) · 1.41 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
# Workaround for running "setup.py test"
# See: http://bugs.python.org/issue15881
try:
import multiprocessing # noqa
except ImportError:
pass
__version__ = '1.7.2'
# Jenkins will replace __build__ with a unique value.
__build__ = ''
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.rst')) as f:
CHANGES = f.read()
except:
README = ''
CHANGES = ''
setup(name='confab',
version=__version__ + __build__,
description='Configuration management with Fabric and Jinja2.',
long_description=README + '\n\n' + CHANGES,
author='Location Labs',
author_email='info@locationlabs.com',
url='http://github.com/locationlabs/confab',
license='Apache2',
packages=find_packages(exclude=['*.tests']),
setup_requires=[
'nose>=1.0'
],
install_requires=[
'Fabric>=1.4',
'Jinja2>=2.4',
'python-magic',
'gusset>=1.2',
'paramiko<1.13',
],
tests_require=[
'mock==1.0.1'
],
test_suite='confab.tests',
entry_points={
'console_scripts': [
'confab = confab.main:main',
'confab-show = confab.diagnostics:main',
]
},
)