-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
52 lines (44 loc) · 1.56 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
from setuptools import setup
from os import path
from sys import version_info
py_version = version_info[:2]
if py_version < (2, 6):
raise RuntimeError(
'On Python 2, supervisor-wildcards requires Python 2.6 or later')
elif (3, 0) < py_version < (3, 2):
raise RuntimeError(
'On Python 3, supervisor-wildcards requires Python 3.2 or later')
VERSION = (0, 1, 3)
__version__ = VERSION
__versionstr__ = '.'.join(map(str, VERSION))
long_description = ''
try:
f = open(path.join(path.dirname(__file__), 'README.rst'))
long_description = f.read().strip()
f.close()
except:
pass
setup(
name = 'supervisor-wildcards',
description = "Implemenents start/stop/restart commands with both parallel and wildcard support for Supervisor.",
url = "http://github.com/aleszoulek/supervisor-wildcards",
long_description = long_description,
version = __versionstr__,
author = "Ales Zoulek",
author_email = "[email protected]",
license = "BSD",
packages = ['supervisorwildcards'],
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"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",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
],
test_suite='test_supervisorwildcards.run_tests.run_all',
)