I'd like to be able to install a project from a file system path or URL and install extras for it without having to know the project name.
It's possible to install without knowing the project name if extras aren't needed:
pip install git+https://github.com/jaraco/pytest-perf
And it's possible to install with extras if the project name is known:
pip install 'pytest-perf[testing]@git+https://github.com/jaraco/pytest-perf'
But if one wants to install a project with its extras without knowing its name, there appears to be no syntax for that.
Perhaps pip could support something like
pip install '[testing]@git+https://github.com/jaraco/pytest-perf'
Or allow a special sentinel to stand in for the actual project name.
pip install '*[testing]@git+https://github.com/jaraco/pytest-perf'