-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
72 lines (62 loc) · 1.89 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import itertools
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("VERSION", "r", encoding="utf-8") as fh:
version = fh.read()
_SQLALCHEMY_REQUIREMENTS = [
"sqlalchemy",
]
_BIGQUERY_REQUIREMENTS = [
"google-cloud-bigquery",
"sqlalchemy-bigquery",
]
_SNOWFLAKE_REQUIREMENTS = _SQLALCHEMY_REQUIREMENTS + [
"snowflake-connector-python[pandas]",
"snowflake-sqlalchemy",
]
_ATHENA_REQUIREMENTS = _SQLALCHEMY_REQUIREMENTS + [
"pyathena",
"pyarrow",
]
extras = {
"snowflake": _SNOWFLAKE_REQUIREMENTS,
"bigquery": _BIGQUERY_REQUIREMENTS,
"athena": _ATHENA_REQUIREMENTS,
}
extras["all"] = list(itertools.chain.from_iterable(extras.values()))
setuptools.setup(
name="exabel-data-sdk",
version=version,
author="Exabel",
author_email="[email protected]",
description="Python SDK for the Exabel Data API",
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Exabel/python-sdk",
packages=setuptools.find_packages(exclude=["exabel_data_sdk.tests*"]),
install_requires=[
"google-api-core>1.31.3",
"googleapis-common-protos>=1.56.0",
"grpcio",
"openpyxl",
"pandas",
"protobuf>=4",
"requests",
"tqdm",
],
extras_require=extras,
python_requires=">=3.9",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Financial and Insurance Industry",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)