Skip to content

Commit

Permalink
Use setuptools_scm for version setting (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter authored Nov 10, 2023
1 parent 70b58ee commit cc4887e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion dask_snowflake/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
from pkg_resources import DistributionNotFound, get_distribution

from .core import read_snowflake, to_snowflake

__version__ = "0.2.0"
try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
pass
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

setup(
name="dask-snowflake",
version="0.2.0",
use_scm_version=True,
setup_requires=["setuptools_scm"],
description="Dask + Snowflake intergration",
license="BSD",
maintainer="James Bourbeau",
Expand Down

0 comments on commit cc4887e

Please sign in to comment.