forked from fugue-project/fugue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
106 lines (99 loc) · 3.57 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import os
from setuptools import find_packages, setup
from fugue_version import __version__
with open("README.md") as f:
_text = ["# Fugue"] + f.read().splitlines()[1:]
LONG_DESCRIPTION = "\n".join(_text)
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",
version=get_version(),
packages=find_packages(),
description="An abstraction layer for distributed computation",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license="Apache-2.0",
author="The Fugue Development Team",
author_email="[email protected]",
keywords="distributed spark dask sql dsl domain specific language",
url="http://github.com/fugue-project/fugue",
install_requires=[
"triad>=0.8.1",
"adagio>=0.2.4",
"qpd>=0.4.0",
"fugue-sql-antlr>=0.1.5",
"sqlalchemy",
"sqlglot",
"pyarrow>=0.15.1",
"pandas>=1.0.2",
"jinja2",
],
extras_require={
"cpp_sql_parser": ["fugue-sql-antlr[cpp]>=0.1.5"],
"spark": ["pyspark"],
"dask": [
"dask[distributed,dataframe]; python_version < '3.8'",
"dask[distributed,dataframe]>=2022.9.0; python_version >= '3.8'",
"qpd[dask]>=0.4.0",
],
"ray": ["ray[data]>=2.0.0", "duckdb>=0.5.0", "pyarrow>=6.0.1"],
"duckdb": [
"duckdb>=0.5.0",
"pyarrow>=6.0.1",
"numpy",
],
"ibis": [
"ibis-framework>=2.1.1; python_version < '3.8'",
"ibis-framework>=3.2.0; python_version >= '3.8'",
],
"notebook": ["notebook", "jupyterlab", "ipython>=7.10.0"],
"all": [
"fugue-sql-antlr[cpp]>=0.1.5",
"pyspark",
"dask[distributed,dataframe]; python_version < '3.8'",
"dask[distributed,dataframe]>=2022.9.0; python_version >= '3.8'",
"ray[data]>=2.0.0",
"qpd[dask]>=0.4.0",
"notebook",
"jupyterlab",
"ipython>=7.10.0",
"duckdb>=0.5.0",
"pyarrow>=6.0.1",
"ibis-framework>=2.1.1; python_version < '3.8'",
"ibis-framework>=3.2.0; python_version >= '3.8'",
],
},
classifiers=[
# "3 - Alpha", "4 - Beta" or "5 - Production/Stable"
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.7",
package_data={"fugue_notebook": ["nbextension/*"]},
entry_points={
"fugue.plugins": [
"ibis = fugue_ibis[ibis]",
"duckdb = fugue_duckdb.registry[duckdb]",
"duckdb_ibis = fugue_duckdb.ibis_engine[duckdb,ibis]",
"spark = fugue_spark.registry[spark]",
"spark_ibis = fugue_spark.ibis_engine[spark,ibis]",
"dask = fugue_dask.registry[dask]",
"dask_ibis = fugue_dask.ibis_engine[dask,ibis]",
"ray = fugue_ray.registry[ray]",
]
},
)