-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
70 lines (59 loc) · 1.71 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
64
65
66
67
68
69
70
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2017 Erigones, s. r. o.
# All Rights Reserved
#
# This software is licensed as described in the README.rst and LICENSE
# files, which you should have received as part of this distribution.
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# noinspection PyPep8Naming
from ludolph import __version__ as VERSION
def read_file(name):
return open(os.path.join(os.path.dirname(__file__), name)).read()
DEPS = [
'ludolph-zabbix>=1.5',
'sleekxmpp>=1.2.0,<1.4.0',
'bottle',
]
if sys.version_info[0] < 3:
DEPS.append('dnspython')
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
DEPS.append('ordereddict')
else:
DEPS.append('dnspython>=1.13.0')
CLASSIFIERS = [
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Developers',
'Operating System :: Unix',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Development Status :: 5 - Production/Stable',
'Topic :: Communications :: Chat',
'Topic :: Utilities'
]
setup(
name='ludolph',
version=VERSION,
description='Monitoring Jabber Bot',
long_description=read_file('README.rst'),
author='Erigones',
author_email='[email protected]',
url='https://github.com/erigones/Ludolph/',
license='BSD',
packages=['ludolph'],
scripts=['bin/ludolph'],
install_requires=DEPS,
platforms='any',
classifiers=CLASSIFIERS,
include_package_data=True
)