diff options
| author | Samuel John | 2013-09-03 10:46:06 +0200 |
|---|---|---|
| committer | Samuel John | 2013-09-03 10:46:06 +0200 |
| commit | 5515fda59a2941db438aa567d1de0c0a508f7625 (patch) | |
| tree | bde76cca14c0c309f547f13025728d85a49ce6cf /Library/Homebrew/python_helper.rb | |
| parent | dbaac79f175ca4c49082e5234e1c1d2914464076 (diff) | |
| download | brew-5515fda59a2941db438aa567d1de0c0a508f7625.tar.bz2 | |
PythonInstalled: Allow formulae to set/append PYTHONPATH
Improve robustness of `PYTHONPATH` by first unsetting it (during
`satisfy`) so that the `PythonInstalled` can get the `python.version`
and so forth and then, after that, setting the `PYTHONPATH` to our
`global_site_packages`.
In the `python_helper` we append to the `PYTHONPATH` so if that var has
been set in a formula, it is respected.
Brew audit does no longer complain about setting the
`ENV['PYTHONPATH']`.
Diffstat (limited to 'Library/Homebrew/python_helper.rb')
0 files changed, 0 insertions, 0 deletions
