diff --git a/delocate/__init__.py b/delocate/__init__.py index e29dbf0e..e95c8095 100644 --- a/delocate/__init__.py +++ b/delocate/__init__.py @@ -1,5 +1,7 @@ # Init for delocate package +import warnings + from .delocating import delocate_path, delocate_wheel, patch_wheel from .libsana import tree_libs, wheel_libs @@ -7,6 +9,12 @@ from ._version import __version__ except ImportError: __version__ = "0.0.0" + warnings.warn( + "Delocate was not installed and is missing version metadata." + "\nMake sure this package is installed in development mode with this command:" + "\n\tpip install --editable .", + RuntimeWarning, + ) __all__ = ( "delocate_path",