forked from ShichaoMa/log_to_kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (39 loc) · 1.12 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
# -*- coding:utf-8 -*-
try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
VERSION = '1.0.9'
AUTHOR = "cn"
AUTHOR_EMAIL = "[email protected]"
URL = "https://www.github.com/ShichaoMa/log_to_kafka"
NAME = "log-to-kafka"
DESCRIPTION = "log to kafka"
try:
LONG_DESCRIPTION = open("README.rst").read()
except UnicodeDecodeError:
LONG_DESCRIPTION = open("README.rst", encoding="utf-8").read()
KEYWORDS = "log kafka"
LICENSE = "MIT"
PACKAGES = find_packages()
setup(
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
],
keywords = KEYWORDS,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
url = URL,
license = LICENSE,
packages = PACKAGES,
install_requires=["kafka-python==0.9.5", "python-json-logger>=0.1.2", "ConcurrentLogHandler>=0.9.1"],
include_package_data=True,
zip_safe=True,
)