python3: Harden build by unsetting PYTHONPATH
parent
d93e7316bc
commit
0e231b749b
|
@ -66,6 +66,7 @@ class Python3 < Formula
|
|||
# Unset these so that installing pip and setuptools puts them where we want
|
||||
# and not into some other Python the user has installed.
|
||||
ENV['PYTHONHOME'] = nil
|
||||
ENV['PYTHONPATH'] = nil
|
||||
|
||||
args = %W[
|
||||
--prefix=#{prefix}
|
||||
|
|
Loading…
Reference in New Issue