When configuring install_requires=[...]
in a setup.py
file, we can specify either version numbers:
package >= 1.2.3
or a source:
package @ git+https://git.example.com/some/path/to/package@master#egg=package
But I did not manager to specify both, I got an error for everything I tried.
Looking at the PEP 508, it looks like it is intended:
specification = wsp* ( url_req | name_req ) wsp*
where wsp*
just means optional whitespace.
Did I get it correctly that it is not possible to write something like this?
package >= 1.2.3 @ git+https://...
What is the reason for this decision?