File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 44{% set version = load_setup_py_data().get('version', '0.0.0') %}
55
66package :
7- name : vtools
7+ name : vtools3
88 version : {{ version }}
99
1010source :
Original file line number Diff line number Diff line change 33__author__ = """Eli Ateljevich, Nicky Sandhu, Kijin Nam"""
44__email__ = "Eli.Ateljevich@water.ca.gov; Kijin.Nam@water.ca.gov"
55
6+ import os
7+ import sys
68from importlib .metadata import version , PackageNotFoundError
79
810try :
911 __version__ = version ("vtools3" )
10- except PackageNotFoundError :
12+ except PackageNotFoundError as e :
13+ print (
14+ "importlib.metadata was unable to find vtools3 version.\n "
15+ f"Reason: { e } \n "
16+ f"Current working directory: { os .getcwd ()} \n "
17+ f"sys.path: { sys .path } \n "
18+ "Is vtools3 installed as a package? Check that METADATA exists in your site-packages."
19+ )
1120 __version__ = "0.0.0" # Default version if package metadata is unavailable
1221
1322from vtools .data .gap import *
You can’t perform that action at this time.
0 commit comments