-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (49 loc) · 1.87 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
51
52
53
54
55
56
57
58
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
from jloglevel import __version__
AUTHOR_MAINTAINER = 'Ivan Yurchenko'
AUTHOR_MAINTAINER_EMAIL = 'ivan0yurchenko@gmail.com'
def readme():
with open('README.md') as f:
return f.read()
def requirements():
with open('requirements.txt') as f:
return [l.strip() for l in f.readlines()]
setup(name='jloglevel',
version=__version__,
description='A command line tool for changing the logging level '
'in JVM apps in runtime via Jolokia',
long_description=readme(),
url='https://github.com/ivanyu/jloglevel',
author=AUTHOR_MAINTAINER,
author_email=AUTHOR_MAINTAINER_EMAIL,
maintainer=AUTHOR_MAINTAINER,
maintainer_email=AUTHOR_MAINTAINER_EMAIL,
license='Apache 2.0',
packages=['jloglevel'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
zip_safe=True,
keywords='jmx jolokia logging jvm',
install_requires=requirements(),
entry_points={
'console_scripts': ['jloglevel = jloglevel.__main__:cli']
})