forked from mnaberez/supervisor_twiddler
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
62 lines (54 loc) · 1.95 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
__version__ = '1.1.0-dev'
import os
import sys
py_version = sys.version_info[:2]
if py_version < (2, 6):
raise RuntimeError(
'On Python 2, supervisor_numplus requires Python 2.6 or later')
elif (3, 0) < py_version < (3, 2):
raise RuntimeError(
'On Python 3, supervisor_numplus requires Python 3.2 or later')
tests_require = []
if py_version < (3, 3):
tests_require.append('mock')
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
DESC = """\
supervisor_numplus 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.6',
'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_grace',
version = __version__,
license = 'License :: OSI Approved :: BSD License',
url = 'http://github.com/wgjak47/supervisor_grace',
description = "supervisor_grace RPC extension for Supervisor",
long_description= DESC,
classifiers = CLASSIFIERS,
author = "wgjak47",
author_email = "ak47m61@gmail.com",
maintainer = "wgjak47",
maintainer_email = "ak47m61@gmail.com.com",
packages = find_packages(),
install_requires = ['supervisor >= 3.0a10'],
include_package_data = True,
zip_safe = False,
namespace_packages = ['supervisor_grace'],
)