7.1.1
by Wes Mason
Add usual package bits, readme, changelog, license, manifest and setup.py. |
1 |
"""Installer for conn-check
|
2 |
"""
|
|
3 |
||
4 |
import os |
|
5 |
cwd = os.path.dirname(__file__) |
|
6 |
__version__ = open(os.path.join(cwd, 'conn_check/version.txt'), |
|
7 |
'r').read().strip() |
|
8 |
||
9 |
try: |
|
10 |
from setuptools import setup, find_packages |
|
11 |
except ImportError: |
|
12 |
from ez_setup import use_setuptools |
|
13 |
use_setuptools() |
|
14 |
from setuptools import setup, find_packages |
|
15 |
||
16 |
setup( |
|
17 |
name='conn-check', |
|
18 |
description='Utility/library for checking connectivity between services', |
|
19 |
long_description=open('README.rst').read(), |
|
20 |
version=__version__, |
|
21 |
author='James Westby, Wes Mason', |
|
22 |
author_email='james.westby@canonical.com, wesley.mason@canonical.com', |
|
23 |
url='https://launchpad.net/conn-check', |
|
24 |
packages=find_packages(exclude=['ez_setup']), |
|
25 |
install_requires=open('requirements.txt').readlines(), |
|
8.1.2
by James Westby
Fix the AMQP check. |
26 |
package_data={'conn_check': ['version.txt', 'amqp0-8.xml']}, |
7.1.1
by Wes Mason
Add usual package bits, readme, changelog, license, manifest and setup.py. |
27 |
include_package_data=True, |
8.1.2
by James Westby
Fix the AMQP check. |
28 |
entry_points={ |
29 |
'console_scripts': [ |
|
30 |
'conn-check = conn_check:run', |
|
31 |
],
|
|
32 |
},
|
|
7.1.1
by Wes Mason
Add usual package bits, readme, changelog, license, manifest and setup.py. |
33 |
license='GPL3', |
34 |
classifiers=[ |
|
35 |
"Topic :: System :: Networking"
|
|
36 |
"Development Status :: 4 - Beta"
|
|
37 |
"Programming Language :: Python", |
|
38 |
"Intended Audience :: Developers", |
|
39 |
"Operating System :: OS Independent", |
|
40 |
"Intended Audience :: System Administrators", |
|
41 |
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
|
|
42 |
]
|
|
43 |
)
|