From e6b78fefbd9e0a71e9e8d9cac70a6449a6a65281 Mon Sep 17 00:00:00 2001 From: Tim D. Smith Date: Thu, 3 Jul 2014 10:53:42 -0700 Subject: python3: don't install bottles on Xcode-only systems Signed-off-by: Jack Nagel --- Library/Formula/python3.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula/python3.rb') diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 96162e3b0..f30972893 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -55,6 +55,12 @@ class Python3 < Formula EOS end + # setuptools remembers the build flags python is built with and uses them to + # build packages later. Xcode-only systems need different flags. + def pour_bottle? + MacOS::CLT.installed? + end + def install # Unset these so that installing pip and setuptools puts them where we want # and not into some other Python the user has installed. -- cgit v1.2.3