pypa/pip — Issue #409: pip install --no-input -d ... asks for input when sdist file exists. 
Author: slacy
Created: 2011-12-16 23:38:50+00:00
State: open

Here's the sequence I used to reproduce this:

$ virtualenv env
$ . ./env/bin/activate
$ mkdir ./sdists
$ pip install --no-input -d ./sdists versiontools
$ pip install --no-input -d ./sdists versiontools

The first invocation of pip works just fine, and creates sdists/versiontools-1.8.2.tar.gz

The second invocation of pip does this:

(env)$ pip install --no-input -d ./sdists versiontools
Downloading/unpacking versiontools
Downloading versiontools-1.8.2.tar.gz
The file ./sdists/versiontools-1.8.2.tar.gz exists. (i)gnore, (w)ipe, (b)ackup w
Deleting ./sdists/versiontools-1.8.2.tar.gz
Saved ./sdists/versiontools-1.8.2.tar.gz
Successfully downloaded versiontools