diff options
| author | Samuel John | 2013-08-08 11:54:42 +0200 |
|---|---|---|
| committer | Samuel John | 2013-08-08 11:54:42 +0200 |
| commit | 36ad1d552b6bfda2e99d0aaba17114c3d5ac6ee5 (patch) | |
| tree | 8dcbabbbfe2c2d48bfed4ba69bea00c64e411bfd /Library/Formula/python3.rb | |
| parent | b024703426a3bfe7996fe7841a76dee66529e244 (diff) | |
| download | homebrew-36ad1d552b6bfda2e99d0aaba17114c3d5ac6ee5.tar.bz2 | |
Python: Exit if PYTHONPATH is wrong
In our sitecustomize.py we instruct python to exit with an error message
if the PYTHONPATH is pointing to a wrong homebrew site-packages dir.
With wrong meaning another major python version.
If you set the PYTHONPATH to include
$(brew --prefix)/lib/python2.7/site-packages
and start python3, it may pick up modules from there, wich can result
in errors for non pure python modules (such as PyQt).
Diffstat (limited to 'Library/Formula/python3.rb')
0 files changed, 0 insertions, 0 deletions
