I am creating a setup.py file for a project which depends on private GitHub repositories. The relevant parts of the file look like this:
from s
I was trying to get this to work for installing with pip, but the above was not working for me. From [1] I understood the PEP508 standard should be used, from [2] I retrieved an example which actually does work (at least for my case).
Please note; this is with pip 20.0.2 on Python 3.7.4
setup(
name='',
...
install_requires=[
'',
# Private repository
' @ git+ssh://git@github.com//@',
# Public repository
' @ git+https://github.com//@',
],
)
After specifying my package this way installation works fine (also with -e settings and without the need to specify --process-dependency-links).
References [1] https://github.com/pypa/pip/issues/4187 [2] https://github.com/pypa/pip/issues/5566