-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (36 loc) · 1.15 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
#
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License 2.0;
# you may not use this file except in compliance with the Elastic License 2.0.
#
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 6):
raise ValueError("Requires Python 3.6 or superior")
from connectors import __version__ # NOQA
install_requires = []
description = ""
for file_ in ("README",):
with open("%s.rst" % file_) as f:
description += f.read() + "\n\n"
classifiers = [
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
]
setup(
name="elasticsearch-connectors",
version=__version__,
packages=find_packages(),
description=("Elastic Search Connectors."),
author="Ingestion Team",
author_email="[email protected]",
include_package_data=True,
zip_safe=False,
classifiers=classifiers,
install_requires=install_requires,
entry_points="""
[console_scripts]
elastic-ingest = connectors.cli:main
""",
)