-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
executable file
·47 lines (37 loc) · 953 Bytes
/
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
#!/usr/bin/env python2
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
os.environ['PYTHONDONTWRITEBYTECODE'] = '1'
packages = [
'nagiosharder'
]
requires = [
'Logbook >= 0.4',
'requests >= 0.13.3',
'iniparse >= 0.4',
'prettytable >= 0.6.1',
'lxml==3.2.1',
'cssselect==0.8'
]
setup(
name='nagiosharder',
version='0.2.5',
description='lib and cli interface to nagios status.cgi',
long_description=open('README.rst').read(),
author='Alexandr Skurikhin',
author_email='[email protected]',
url='https://github.com/a-sk/nagiosharder',
scripts=['bin/nagiosharder'],
packages=packages,
package_data={'': ['LICENSE'] },
install_requires=requires,
license=open('LICENSE').read(),
)
del os.environ['PYTHONDONTWRITEBYTECODE']