pypa/pip — pull request #566 by TC01 (2012-06-06 01:07:20+00:00)
Title: Followup build and src dir fixes

So this pull request is a followup to #516. To recap: there were two issues with the solution I provided in that request:

1. It broke the workflow of `--no-install` followed by `--no-download`, because the temporary directory pip created was different each time.

2. The handling of the `src` dir was bad- it could not be a temporary directory, it needed to be somewhere permanent.

So what I've done is changed the temporary `build` directory to always be called pip-build (ex: /tmp/pip-build) , fixing issue 1, and moving `src` back into cwd to fix issue 2. I have the latter still flagged as a FIXME because I do think that things shouldn't arbitrarily be created in cwd- but it currently seems to be the best possible option.