Skip to content

Commit

Permalink
Require setuptools_scm at runtime for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Nov 9, 2020
1 parent e3b2162 commit 4cf0f99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctapipe/_dev_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
from setuptools_scm import get_version

version = get_version(root="..", relative_to=__file__)
except Exception:
raise ImportError("setuptools_scm broken or not installed")
except Exception as e:
raise ImportError(f"setuptools_scm broken or not installed: {e}")
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"traitlets~=5.0,>=5.0.5",
"zstandard",
"h5py", # needed for astropy hdf5 io
"setuptools_scm>=3.4",
],
# here are optional dependencies (as "tag" : "dependency spec")
extras_require={
Expand Down

0 comments on commit 4cf0f99

Please sign in to comment.