-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
63 lines (55 loc) · 2.03 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
__version__ = '1.1.0-dev'
import os
import sys
py_version = sys.version_info[:2]
if py_version < (2, 7):
raise RuntimeError(
'On Python 2, supervisor_twiddler requires Python 2.7 or later')
elif (3, 0) < py_version < (3, 2):
raise RuntimeError(
'On Python 3, supervisor_twiddler requires Python 3.2 or later')
tests_require = []
if py_version < (3, 3):
tests_require.append('mock<4.0.0.dev0')
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
DESC = """\
supervisor_twiddler is an RPC extension for Supervisor that allows
Supervisor's configuration and state to be manipulated in ways that are not
normally possible at runtime."""
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: System :: Boot',
'Topic :: System :: Systems Administration',
]
setup(
name = 'supervisor_twiddler',
version = __version__,
license = 'License :: OSI Approved :: BSD License',
url = 'http://github.com/mnaberez/supervisor_twiddler',
description = "supervisor_twiddler RPC extension for Supervisor",
long_description= DESC,
classifiers = CLASSIFIERS,
author = "Mike Naberezny",
author_email = "[email protected]",
maintainer = "Mike Naberezny",
maintainer_email = "[email protected]",
packages = find_packages(),
install_requires = ['supervisor >= 3.0a10'],
tests_require = tests_require,
include_package_data = True,
zip_safe = False,
namespace_packages = ['supervisor_twiddler'],
test_suite = 'supervisor_twiddler.tests'
)