Skip to content

Instantly share code, notes, and snippets.

@diegoquintanav
Last active January 16, 2019 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegoquintanav/713dc8f75e3602122feef573d63ea5a8 to your computer and use it in GitHub Desktop.
Save diegoquintanav/713dc8f75e3602122feef573d63ea5a8 to your computer and use it in GitHub Desktop.
installing `extra_requires` dependencies from private git repositories

The struggle is real: Basically this bit in a setup.py worked for me.

extras_require={
        'extrapackage':  ["git@git+ssh://git@gitlab.com/<user>/<repository_name>.git"],
        },

then it's possible to do pip install -e .[extrapackage] given you have proper ssh access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment