When I do a "pip install -e ..." to install from a git repo, I have to specify #egg=somename or pip complains. For example:
pip install -e git://github.com/hiidef/oauth2app.git#egg=oauth2app
What's the significance of this "egg" string?
When I do a "pip install -e ..." to install from a git repo, I have to specify #egg=somename or pip complains. For example:
pip install -e git://github.com/hiidef/oauth2app.git#egg=oauth2app
What's the significance of this "egg" string?
https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support says:
From this I deduce that the egg value is only used for dependency checks and therefore I think, by convention, the package name (i.e.
some-pypi-package-name
) should be used, not any contained folder (i.e.some_pypi_package_name
)per pip install -h the "egg" string is the directory that gets checked out as part of the install
You have to include #egg=Package so pip knows what to expect at that URL. See https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support
more on eggs