Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (44 loc) · 1.58 KB
/
Copy pathsetup.py
File metadata and controls
53 lines (44 loc) · 1.58 KB
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
import os
from setuptools import setup
PROJECT_ROOT, _ = os.path.split(__file__)
NAME = 'kafka-logging-handler'
EMAILS = 'mbirger@redhat.com, mjahudko@readhat.com, rmonegro@redhat.com'
AUTHORS = 'Mark Birger, Michaela Jahudkova, Robert Monegro'
VERSION = '0.2.2'
URL = 'https://github.com/redhat-aqe/kafka-logging-handler'
LICENSE = 'GPLv3'
SHORT_DESCRIPTION = 'A Python logging handler library for Kafka consumers.'
try:
import pypandoc
DESCRIPTION = pypandoc.convert(os.path.join(PROJECT_ROOT, 'README.md'),
'rst')
except (IOError, ImportError):
DESCRIPTION = SHORT_DESCRIPTION
INSTALL_REQUIRES = open(os.path.join(PROJECT_ROOT, 'requirements.txt')). \
read().splitlines()
setup(
name=NAME,
version=VERSION,
author=AUTHORS,
author_email=EMAILS,
packages=[
'kafka_logger',
],
install_requires=INSTALL_REQUIRES,
url=URL,
download_url='https://github.com/redhat-aqe/kafka-logging-handler/archive/{0}.tar.gz'.format(VERSION),
description=SHORT_DESCRIPTION,
long_description=DESCRIPTION,
license=LICENSE,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Topic :: System :: Logging',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)