-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (45 loc) · 1.62 KB
/
Copy pathsetup.py
File metadata and controls
49 lines (45 loc) · 1.62 KB
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
import io
import os
from setuptools import find_packages, setup
VERSION = "0.2.13"
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
with io.open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name="elasticsearch-dbapi",
description=("A DBAPI and SQLAlchemy dialect for Elasticsearch"),
long_description=long_description,
long_description_content_type="text/markdown",
version=VERSION,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
"sqlalchemy.dialects": [
"elasticsearch = es.elastic.sqlalchemy:ESHTTPDialect",
"elasticsearch.http = es.elastic.sqlalchemy:ESHTTPDialect",
"elasticsearch.https = es.elastic.sqlalchemy:ESHTTPSDialect",
"odelasticsearch = es.opendistro.sqlalchemy:ESHTTPDialect",
"odelasticsearch.http = es.opendistro.sqlalchemy:ESHTTPDialect",
"odelasticsearch.https = es.opendistro.sqlalchemy:ESHTTPSDialect",
]
},
install_requires=[
"elasticsearch>=7.17.13, <8",
"opensearch-py>=2.8.0, <3",
"packaging>=21.0",
"sqlalchemy",
],
extras_require={"opendistro": ["requests_aws4auth", "boto3"]},
python_requires=">=3.10",
author="Preset Inc.",
author_email="daniel@preset.io",
url="http://preset.io",
download_url="https://github.com/preset-io/elasticsearch-dbapi/releases/tag/"
+ VERSION,
classifiers=[
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)