-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
29 lines (24 loc) · 911 Bytes
/
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
import os
from setuptools import setup
VERSION = '0.0.2'
def get_requirements():
"""Gets the minimum libraries needed for installation and usage
"""
base_path = os.path.dirname(__file__)
with open(os.path.join(base_path, 'requirements.txt')) as reqs:
return [req.strip() for req in reqs]
setup(
name='kafka-topic-dumper',
packages=['kafka_topic_dumper'],
version=VERSION,
description='Dump messages from a kafka topic and send it to Amazon S3',
url='https://github.com/Cobliteam/kafka-topic-dump',
download_url='https://github.com/Cobliteam/kafka-topic-dump/archive/{}.tar.gz'.format(VERSION),
author='Evandro Sanches',
author_email='[email protected]',
license='MIT',
install_requires=get_requirements(),
entry_points={
'console_scripts': ['kafka-topic-dumper=kafka_topic_dumper.main:main']
},
keywords='kakfa backup aws s3')