-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
43 lines (35 loc) · 1.27 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
from setuptools import setup
import os.path
import imp
ROOT = os.path.abspath(os.path.dirname(__file__))
def read(fname):
"""Read a file relative to the repository root"""
return open(os.path.join(ROOT, fname)).read()
def version():
"""Return the version number from supervise.py"""
file, pathname, description = imp.find_module('supervise', [ROOT])
return imp.load_module('supervise', file, pathname, description).__version__
VERSION = version()
setup(
name="supervise",
version=VERSION,
py_modules=["supervise"],
description="Tools for communicating with runit / daemontools supervisors.",
long_description=read("README.rst"),
install_requires=[],
setup_requires=['unittest2'],
author='Andres J. Diaz',
author_email='[email protected]',
maintainer='Peter Ruibal',
maintainer_email='[email protected]',
license='ISC',
keywords='supervise runit daemontools',
url='http://github.com/fmoo/python-supervise',
download_url='https://github.com/fmoo/python-supervise/archive/%s.tar.gz' % VERSION,
#test_suite="tests",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: ISC License (ISCL)",
],
)