File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/pip/_internal/operations Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,8 @@ def _get_editable_info(dist: BaseDistribution) -> _EditableInfo:
164
164
"""
165
165
if not dist .editable :
166
166
return _EditableInfo (requirement = None , editable = False , comments = [])
167
- if dist .location is None :
167
+ editable_project_location = dist .editable_project_location
168
+ if editable_project_location is None :
168
169
display = _format_as_name_version (dist )
169
170
logger .warning ("Editable requirement not found on disk: %s" , display )
170
171
return _EditableInfo (
@@ -173,7 +174,7 @@ def _get_editable_info(dist: BaseDistribution) -> _EditableInfo:
173
174
comments = [f"# Editable install not found ({ display } )" ],
174
175
)
175
176
176
- location = os .path .normcase (os .path .abspath (dist . location ))
177
+ location = os .path .normcase (os .path .abspath (editable_project_location ))
177
178
178
179
from pip ._internal .vcs import RemoteNotFoundError , RemoteNotValidError , vcs
179
180
You can’t perform that action at this time.
0 commit comments