From e079f8f681f4f641bf2e3d5a61cbbc1beee0f189 Mon Sep 17 00:00:00 2001 From: "Tim D. Smith" Date: Thu, 25 Jun 2015 15:39:48 -0700 Subject: [PATCH] python: install flat setuptools, pip Avoid installing eggs to avoid problems with multiple installed versions. --- Formula/python.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/python.rb b/Formula/python.rb index 0aa96dfc7a878..1a1352bfc1eb3 100644 --- a/Formula/python.rb +++ b/Formula/python.rb @@ -201,9 +201,12 @@ def post_install # setuptools-0.9.5-py3.3.egg rm_rf Dir["#{site_packages}/setuptools*"] rm_rf Dir["#{site_packages}/distribute*"] + rm_rf Dir["#{site_packages}/pip[-_.][0-9]*", "#{site_packages}/pip"] setup_args = ["-s", "setup.py", "--no-user-cfg", "install", "--force", "--verbose", + "--single-version-externally-managed", + "--record=installed.txt", "--install-scripts=#{bin}", "--install-lib=#{site_packages}"]