We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dir_info
2 parents 7742429 + 73284d6 commit 50f3cc6Copy full SHA for 50f3cc6
spin/cmds/meson.py
@@ -45,7 +45,9 @@ def _editable_install_path(distname):
45
except importlib_metadata.PackageNotFoundError:
46
return None
47
48
- if getattr(dist.origin.dir_info, "editable", False):
+ if hasattr(dist.origin, "dir_info") and getattr(
49
+ dist.origin.dir_info, "editable", False
50
+ ):
51
if sys.platform == "win32":
52
return dist.origin.url.removeprefix("file:///")
53
else:
0 commit comments