Now that external_dependencies is deprecated for python setups, I'm trying to use the new PEP508 syntax supported in the requires field.
See Example
I have a private devpi server instance that works great. Pip can 100% use it. If I do:
pip install mypackage -i https://myserver/root/prod pip will install my custom package from my given index url.
However, if it try putting that into my requires field in my setup.py like:
requires = [
'myPackage@https://myserver/root/prod',
]
Pip throws a unknown package type error and says it basically can't figure out how to pull down the package.
This is not a git url, it's just a straight index url in which I would expect pip to behave just like it does when I do pip install with the extra index url. What do I need to do to get this syntax working?
I have tried every combination I can think of, with/without trailing slash, initial portions of the url, more portions of the url, basically everything to try and point it to the same index that pip would use when installing and no dice.