Skip to content

Commit

Permalink
Restore version attribute (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones authored Apr 12, 2024
1 parent 5e14503 commit 37d9421
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions carbonplan_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import intake

try:
__version__ = _version(__name__)
version = _version(__name__)
except _PackageNotFoundError:
# package is not installed
__version__ = "unknown"

version = "unknown"
__version__ = version

CATALOG_DIR_PATH = pathlib.Path(__file__)
MASTER_CATALOG_PATH = str(CATALOG_DIR_PATH.parent / "catalogs/master.yaml")
Expand Down

0 comments on commit 37d9421

Please sign in to comment.