mirror of https://github.com/pypa/pip
reintroduce call to _build_req_from_url inadvertently removed in previous commit
This commit is contained in:
parent
5e2a59cd2a
commit
74e7b57cb5
|
@ -1166,6 +1166,8 @@ def parse_editable(editable_req, default_vcs=None):
|
|||
raise InstallationError(error_message)
|
||||
|
||||
package_name = Link(url).egg_fragment
|
||||
if not package_name:
|
||||
package_name = _build_req_from_url(editable_req)
|
||||
if not package_name:
|
||||
raise InstallationError(
|
||||
'--editable=%s is not the right format; it must have '
|
||||
|
|
Loading…
Reference in New Issue