Skip to content

Commit

Permalink
Restore version attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones committed Apr 12, 2024
1 parent 5e14503 commit ca63690
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 ca63690

Please sign in to comment.