From 8212f641b10db42474fb569d77ffcfb3e93ed7fd Mon Sep 17 00:00:00 2001 From: Samuel John Date: Thu, 8 Aug 2013 12:09:07 +0200 Subject: python3: Harden build by unsetting PYTHONPATH --- Library/Formula/python3.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Formula/python3.rb') diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index d09cb3f8b..4fbae4083 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -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} -- cgit v1.2.3