Codebase list astropy-healpix / HEAD astropy_healpix / version.py
HEAD

Tree @HEAD (Download .tar.gz)

version.py @HEADraw · history · blame

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