From 0e231b749bbfa0b09e7f11e189abc135ebd8c465 Mon Sep 17 00:00:00 2001 From: Samuel John Date: Thu, 8 Aug 2013 12:09:07 +0200 Subject: [PATCH] python3: Harden build by unsetting PYTHONPATH --- Formula/python3.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/python3.rb b/Formula/python3.rb index d09cb3f8b76..4fbae408344 100644 --- a/Formula/python3.rb +++ b/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}