maphew

Pip and custom fork of a dependency

What to do when I want to use a newer or alternate version of a package or library? 

[…] when using the requirements.txt and the release version when not, using a file like: 

-e https://github.com/foo/bar.git#egg=bar 
-e .

This will first install the bar library from https://github.com/foo/bar.git , making it equal to the name “bar”, and then will install the local package, again combining its dependencies with the --index option and installing but this time since the “bar” dependency has already been satisfied it will skip it and continue to use the in development version. 

From < https://caremad.io/posts/2013/07/setup-vs-requirement/