Skip to content

Commit

Permalink
versioneer updates to use_scm_version !!
Browse files Browse the repository at this point in the history
  • Loading branch information
shirubana committed Sep 11, 2024
1 parent ac816dd commit 5c0bb93
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2,354 deletions.
14 changes: 11 additions & 3 deletions PV_ICE/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
try:
from importlib.metadata import PackageNotFoundError, version
except ImportError:
# for python < 3.8 (remove when dropping 3.7 support)
from importlib_metadata import PackageNotFoundError, version

try:
__version__ = version(__package__)
except PackageNotFoundError:
__version__ = "0+unknown"

from PV_ICE.main import Simulation, Scenario, Material, weibull_params, weibull_cdf, calculateLCA, weibull_cdf_vis
from PV_ICE.main import sens_StageImprovement, sens_StageEfficiency
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Loading

0 comments on commit 5c0bb93

Please sign in to comment.