gouline / dbt-metabase

dbt + Metabase integration
https://pypi.org/project/dbt-metabase/
MIT License
442 stars 63 forks source link

Optional version import #42

Closed gouline closed 2 years ago

gouline commented 2 years ago

Fixes missing _version.py when installing using pip from git branch, instead of PyPI https://github.com/gouline/dbt-metabase/pull/38#discussion_r675640224

When running from PyPI version and the _version.py is generated, it will use that, otherwise it will read from metadata, which seems to be populated correctly in the above installation method.

Also adding --version to quickly check your version, like most command-line tools.