diff options
| author | Samuel John | 2013-08-08 11:54:42 +0200 |
|---|---|---|
| committer | Samuel John | 2013-08-08 11:54:42 +0200 |
| commit | a73012def4fb97348cf89dd27866097872bafb5d (patch) | |
| tree | a2ef8ba7bea64090a4c632ad19208419a9d46c85 /Library/Homebrew/python_helper.rb | |
| parent | c968f8302fb0b02ddeb6133c0d26349055a07e35 (diff) | |
| download | brew-a73012def4fb97348cf89dd27866097872bafb5d.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/Homebrew/python_helper.rb')
0 files changed, 0 insertions, 0 deletions
