diff options
| author | Misty De Meo | 2013-11-15 14:42:00 -0800 |
|---|---|---|
| committer | Misty De Meo | 2013-11-15 14:42:45 -0800 |
| commit | 4d471b17a81ef5b34e46418041c6c7a1ec4749cb (patch) | |
| tree | 43e8eb28ffc121add91cfad4f6fd6d746f033468 /Library/Formula/pypy.rb | |
| parent | 79d556da8adbeb295a92b6cfcb18c82b48f374d5 (diff) | |
| download | homebrew-4d471b17a81ef5b34e46418041c6c7a1ec4749cb.tar.bz2 | |
pypy: unset PYTHONPATH while building
Fixes #24364.
Diffstat (limited to 'Library/Formula/pypy.rb')
| -rw-r--r-- | Library/Formula/pypy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb index 08cbd27a5..30918e080 100644 --- a/Library/Formula/pypy.rb +++ b/Library/Formula/pypy.rb @@ -19,6 +19,11 @@ class Pypy < Formula end def install + # Having PYTHONPATH set can cause the build to fail if another + # Python is present, e.g. a Homebrew-provided Python 2.x + # See https://github.com/mxcl/homebrew/issues/24364 + ENV['PYTHONPATH'] = '' + rmtree 'site-packages' # The PyPy binary install instructions suggest installing somewhere |
