aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/python_helper.rb
diff options
context:
space:
mode:
authorSamuel John2013-09-03 10:46:06 +0200
committerSamuel John2013-09-03 10:46:06 +0200
commit5515fda59a2941db438aa567d1de0c0a508f7625 (patch)
treebde76cca14c0c309f547f13025728d85a49ce6cf /Library/Homebrew/python_helper.rb
parentdbaac79f175ca4c49082e5234e1c1d2914464076 (diff)
downloadbrew-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