forked from mnaberez/supervisor_twiddler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (52 loc) · 1.88 KB
/
Copy pathsetup.py
File metadata and controls
58 lines (52 loc) · 1.88 KB
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
__version__ = '0.5-dev'
import os
import sys
if sys.version_info[:2] < (2, 4) or sys.version_info[0] > 2:
msg = ("supervisor_twiddler requires Python 2.4 or later but does not "
"work on any version of Python 3. You are using version %s. "
"Please install using a supported version." % sys.version)
sys.stderr.write(msg)
sys.exit(1)
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',
'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 = "mike@naberezny.com",
maintainer = "Mike Naberezny",
maintainer_email = "mike@naberezny.com",
package_dir = {'':'src'},
packages = find_packages(os.path.join(here, 'src')),
# put data files in egg 'doc' dir
data_files=[ ('doc', [
'CHANGES.txt',
'LICENSE.txt',
'README.md',
]
)],
install_requires = ['supervisor >= 3.0a10'],
include_package_data = True,
zip_safe = False,
namespace_packages = ['supervisor_twiddler'],
test_suite = 'supervisor_twiddler.tests'
)