-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (57 loc) · 1.82 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
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_dbt/version.py", encoding="utf8") as fp:
exec(fp.read(), version)
return version["__version__"]
ver = get_version()
setup(
name="dagster-dbt",
version=ver,
author="Dagster Labs",
author_email="hello@dagsterlabs.com",
license="Apache-2.0",
description="A Dagster integration for dbt",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-dbt",
classifiers=[
"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_dbt_tests*"]),
include_package_data=True,
install_requires=[
"dagster==1.5.9", # hardcoded by paradime
# Follow the version support constraints for dbt Core: https://docs.getdbt.com/docs/dbt-versions/core
"dbt-core<1.8",
"cachetools",
"Jinja2",
"networkx",
"orjson",
"requests",
"rich",
"typer>=0.9.0",
"packaging",
],
extras_require={
"test": [
"dbt-duckdb",
"dagster-duckdb",
"dagster-duckdb-pandas",
]
},
entry_points={
"console_scripts": [
"dagster-dbt-cloud = dagster_dbt.cloud.cli:app",
"dagster-dbt = dagster_dbt.cli.app:app",
]
},
zip_safe=False,
)