pypa/pip — Issue #452: pip freeze -r requirements.txt strips URLs
Author: adamsb6
Created: 2012-02-07 19:14:15+00:00
State: open

This is very similar to issue https://github.com/pypa/pip/issues/43.

When running 'pip freeze -r requirements.txt', the output generated does not contain the package URLs specified in the referenced requirements.txt. For example, if I had a line like this in my requirements.txt:

> http://mydomain.com/mypackage.tar.gz#egg=mypackage==1.0

Then the output associated with that line would just be:

> mypackage==1.0

Subsequent runs of 'pip install -r requirements.txt' then fail, since mypackage is not in a repository that pip searches.

Ideally, if a user installed a package by referencing a URL, e.g.:

> pip install http://mydomain.com/mypackage.tar.gz

Then a simple 'pip freeze' would contain that URL so that future pip runs install from it.