pip
has --index-URL
and --extra-index-URL
options for telling it to look for packages somewhere other than the standard package index. However, I haven't found a way to tell it to use packages that I have on my filesystem (presumably with the --editable
option so that I don't have to build or generate archives).
https://github.com/wolever/pip2pi seems to provide a workaround by setting up a local index... Is there a way to accomplish this with pip
alone?
This is similar to but distinct from How to install packages using pip according to the requirements.txt file from a local directory? in that I won't want to tell pip
to look for archives, but the actual source of each package.