-
Notifications
You must be signed in to change notification settings - Fork 83
/
setup.py
37 lines (33 loc) · 1.06 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
import sys
from setuptools import setup
extras = []
if sys.version_info.major == 2:
extras.append('unicodecsv')
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except Exception:
long_description = ''
setup(
name='elasticsearch-loader',
author='Moshe Zada',
version='0.6.0',
packages=['elasticsearch_loader'],
keywords=['elastic', 'elasticsearch', 'csv', 'json', 'parquet', 'bulk', 'loader', 'redis'],
url='https://github.com/Moshe/elasticsearch_loader',
license='',
long_description=long_description,
description='A pythonic tool for batch loading data files (json, parquet, csv, tsv) into ElasticSearch',
install_requires=['elasticsearch>=6', 'click>=8.0.0', 'click-stream==0.0.10', 'click-conf'] + extras,
extras_require={
'parquet': ['parquet'],
'redis': ['esl-redis'],
's3': ['esl-s3'],
'tests': ['pytest', 'mock'],
},
entry_points={
'console_scripts': [
'elasticsearch_loader = elasticsearch_loader:cli',
]
}
)