Join GitHub today
install --download doesn't download dependencies #315
Using the --download (-d) option only downloads the explicitly requested package, but does not download any of the usual dependencies. For example, running
Pip should download the same packages when using the --download flag as would have been installed without the flag.
Note that there is also an explicit --no-deps option. The --download mode should respect this flag if it is provided.
I posted the following in #417, but this issue may be a better place to discuss. So I repost it. Sorry for the noise.
@carljm I am trying to change the behavior of
According to pip/commands/install.py:
If I changed install.py to force cleanup the source code, another test case would fail, because it thinks the source dir should exist.
What behavior do you prefer for
@hongqn There ought to be a distinction between cleaning up the build directory and cleaning up editable source directories. I can't think of any situation where a source directory ought to be cleaned up, but yes, the build directory where the source is temporarily unpacked ought to be cleaned up.