reintroduce call to _build_req_from_url inadvertently removed in previous commit

This commit is contained in:
Stéphane Bidoul 2016-02-09 22:45:30 +01:00
parent 5e2a59cd2a
commit 74e7b57cb5
1 changed files with 2 additions and 0 deletions

View File

@ -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 '