python3: Harden build by unsetting PYTHONPATH

master
Samuel John 2013-08-08 12:09:07 +02:00
parent d93e7316bc
commit 0e231b749b
1 changed files with 1 additions and 0 deletions

View File

@ -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}