diff --git a/rope/__init__.py b/rope/__init__.py index 29ae83e45..284a3d0dd 100644 --- a/rope/__init__.py +++ b/rope/__init__.py @@ -5,6 +5,7 @@ try: VERSION = importlib.metadata.version("rope") except importlib.metadata.PackageNotFoundError: + def get_fallback_version(): import pathlib import re