-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
executable file
·48 lines (41 loc) · 1.34 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
from setuptools import setup, Command
import sys
kw = {}
if sys.version_info >= (3,):
kw['use_2to3'] = True
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno = subprocess.call([sys.executable,
'runtests.py',
'tests.py'])
raise SystemExit(errno)
setup(name='pyjolokia',
version='0.3.1',
description='Pure Python based Jolokia client',
author='Colin Wood',
license="Apache License Version 2.0",
author_email='[email protected]',
py_modules=['pyjolokia'],
url='https://github.com/cwood/pyjolokia',
download_url='http://github.com/cwood/sshed/tarball/master',
long_description=open('README.rst').read(),
include_package_data=True,
keywords=['jolokia', 'jmx'],
cmdclass={'test': PyTest},
classifiers=[
'Development Status :: 4 - Beta'
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Software Development :: Libraries :: Java Libraries',
],
**kw
)