asgardpy._dev_version   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 0
1
# Try to use setuptools_scm to get the current version; this is only used
2
# in development installations from the git repository.
3
# see ctapipe/version.py for details
4
try:
5
    from setuptools_scm import get_version
6
7
    version = get_version(root="../..", relative_to=__file__)  # pragma: no cover
8
except Exception as e:  # pragma: no cover
9
    raise ImportError(f"setuptools_scm broken or not installed: {e}") from e
10