-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
versioneer updates to use_scm_version !!
- Loading branch information
Showing
5 changed files
with
16 additions
and
2,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.