forked from dagster-io/dagster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (42 loc) · 1.6 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
from pathlib import Path
from typing import Dict
from setuptools import find_packages, setup
def get_version() -> str:
version: Dict[str, str] = {}
with open(Path(__file__).parent / "dagster_gcp/version.py", encoding="utf8") as fp:
exec(fp.read(), version)
return version["__version__"]
ver = get_version()
# dont pin dev installs to avoid pip dep resolver issues
pin = "" if ver == "1!0+dev" else f"=={ver}"
setup(
name="dagster-gcp",
version=ver,
author="Elementl",
author_email="hello@elementl.com",
license="Apache-2.0",
description="Package for GCP-specific Dagster framework op and resource components.",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-gcp",
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["dagster_gcp_tests*"]),
install_requires=[
f"dagster{pin}",
f"dagster_pandas{pin}",
"db-dtypes", # Required as per https://github.com/googleapis/python-bigquery/issues/1188
"google-api-python-client",
"google-cloud-bigquery",
"google-cloud-storage",
"oauth2client",
],
# we need `pyarrow` for testing read/write parquet files.
extras_require={"pyarrow": ["pyarrow"]},
zip_safe=False,
)