Skip to content

Followup build and src dir fixes #566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 6, 2012
Merged

Followup build and src dir fixes #566

merged 4 commits into from
Jun 6, 2012

Conversation

TC01
Copy link
Contributor

@TC01 TC01 commented Jun 6, 2012

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.

TC01 added 4 commits June 4, 2012 18:11
Moved src_dir back to cwd for now. build_dir is still created in the
system's temporary dir (tempfile.gettempdir()), but always as
"pip-build".
@carljm carljm merged commit b251709 into pypa:develop Jun 6, 2012
@travisbot
Copy link

This pull request passes (merged b158838 into 39bbf2d).

@travisbot
Copy link

This pull request passes (merged b251709 into 39bbf2d).

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants