Debian Codegraph @

astropy_healpix/version.py

raw
1 # Note that we need to fall back to the hard-coded version if either
2 # setuptools_scm can't be imported or setuptools_scm can't determine the
3 # version, so we catch the generic 'Exception'.
4 try:
5 from setuptools_scm import get_version
6 version = get_version(root='..', relative_to=__file__)
7 except Exception:
8 version = '1.1.2'