-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
54 lines (44 loc) · 1.57 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
import os
from setuptools import setup, find_packages
PROJECT_ROOT, _ = os.path.split(__file__)
NAME = "kafka-logging-handler"
AUTHORS = "Mark Birger, Michaela Jahudkova, Robert Monegro"
VERSION = "0.2.5"
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=find_packages(".", exclude=("tests")),
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",
],
)