The struggle is real: Basically this bit in a setup.py
worked for me.
extras_require={
'extrapackage': ["git@git+ssh://[email protected]/<user>/<repository_name>.git"],
},
then it's possible to do pip install -e .[extrapackage]
given you have proper ssh
access