I know I can install with
$ pip install -e git+https://git.repo/some_pkg#egg=SomePackage
but -- when I'm trying to use somebody else's package -- how do I determine what the name of the egg is?
A “Python egg” is a logical structure embodying the release of a specific version of a Python project, comprising its code, resources, and metadata. There are multiple formats that can be used to physically encode a Python egg, and others can be developed.
An Egg is just some bundled python code. In a git url, the egg is the project name.
Look at the git repo, find the setup.py
file in the root and find what is passed to the name
keyword in the setup()
function call.
For example, the Pyramid setup.py
has:
setup(name='pyramid',
so you'd use:
$ pip install -e git+https://github.com/Pylons/pyramid.git#egg=pyramid
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With