We'd like to use pip with github to install private packages to our production servers. This question concerns what needs to be in the github repo in order for the install to be successful.
Assuming the following command line (which authenticates just fine and tries to install):
pip install git+ssh://email@example.com/BlahCo/search/tree/prod_release_branch/ProductName
You need the whole python package, with a
setup.py file in it.
A package named
foo would be:
foo # the installable package ├── foo │ ├── __init__.py │ └── bar.py └── setup.py
And install from github like:
$ pip install git+git://github.com/myuser/foo.git@v123 or $ pip install git+git://github.com/myuser/foo.git@newbranch