-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 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
#!/usr/bin/env python
# encoding: utf-8
from setuptools import setup
import re, os
def get_version():
with open('klag/__version__.py') as version_file:
return re.search(r"""__version__\s+=\s+(['"])(?P<version>.+?)\1""",
version_file.read()).group('version')
## Read in the README file:
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
setup(name='klag',
description='A Kafka consumer group monitoring CLI.',
long_description=README,
license='MIT',
author='Andrew Carter',
author_email='[email protected]',
url='https://github.com/andrewkcarter/klag',
keywords=['kafka'],
version=get_version(),
packages=[
'klag'
],
scripts=[
'scripts/klag'
],
install_requires=[
'kafka-python>=1.0.2'
],
classifiers=[
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Topic :: System",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
"Topic :: Utilities"
])