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

Already on GitHub? Sign in to your account

fix for issue #707 (numpy global installs on OSX) #768

merged 1 commit into from Jan 16, 2013
Jump to file or symbol
Failed to load files and symbols.
+2 −1
@@ -32,7 +32,8 @@ def virtualenv_no_global():
# Use tempfile to create a temporary folder for build
# Note: we are NOT using mkdtemp so we can have a consistent build dir
- build_prefix = os.path.join(tempfile.gettempdir(), 'pip-build')
+ # Note: using realpath due to tmp dirs on OSX being symlinks
+ build_prefix = os.path.realpath(os.path.join(tempfile.gettempdir(), 'pip-build'))
## FIXME: keep src in cwd for now (it is not a temporary folder)