Skip to content

Commit

Permalink
Add entrypoint to setup.py
Browse files Browse the repository at this point in the history
Required so we can do `pipx install dbt-snowflake`.

Starting in Python 3.12, we can't install packages in the global venv: https://stackoverflow.com/a/75722775
  • Loading branch information
aranke authored Apr 25, 2024
1 parent 244154d commit 1e4e6d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def _get_plugin_version_dict():
url="https://github.com/dbt-labs/dbt-snowflake",
packages=find_namespace_packages(include=["dbt", "dbt.*"]),
include_package_data=True,
entry_points={
"console_scripts": ["dbt = dbt.cli.main:cli"],
},
install_requires=[
"dbt-common>=0.1.0a1,<2.0",
"dbt-adapters>=0.1.0a1,<2.0",
Expand Down

0 comments on commit 1e4e6d4

Please sign in to comment.