forked from fugue-project/fugue-warehouses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (61 loc) · 2.05 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
import os
from setuptools import find_packages, setup
from fugue_warehouses_version import __version__
with open("README.md") as f:
LONG_DESCRIPTION = f.read()
def get_version() -> str:
tag = os.environ.get("RELEASE_TAG", "")
if "dev" in tag.split(".")[-1]:
return tag
if tag != "":
assert tag == __version__, "release tag and version mismatch"
return __version__
setup(
name="fugue-warehouses",
version=get_version(),
packages=find_packages(),
description="Fugue data warehouses integration",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license="Apache-2.0",
author="The Fugue Development Team",
author_email="[email protected]",
keywords="fugue data warehouses bigquery trino sql",
url="http://github.com/fugue-project/fugue-warehouses",
install_requires=[],
extras_require={
"bigquery": [
"fugue[ibis]>=0.8.4",
"fs-gcsfs",
"pandas-gbq",
"google-auth",
"db-dtypes",
"ibis-framework[bigquery]",
],
"trino": [
"fugue[ibis]>=0.8.4",
"ibis-framework[trino]",
],
"ray": ["fugue[ray]>=0.8.4"],
},
classifiers=[
# "3 - Alpha", "4 - Beta" or "5 - Production/Stable"
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.8",
entry_points={
"fugue.plugins": [
"bigquery = fugue_bigquery.registry",
"bigquery_ray = fugue_bigquery.ray_execution_engine[ray]",
"trino = fugue_trino.registry",
],
"ibis.backends": ["fugue_trino = fugue_trino.ibis_trino"],
},
)