From 86fb9e7294e1b1cd06fa5f0890ef6874ee7f3eb0 Mon Sep 17 00:00:00 2001 From: Samuel John Date: Thu, 6 Jun 2013 09:47:10 +0200 Subject: python: Remove duplicate code --- Library/Formula/python.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Library') diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index c2bce90d3..f21397514 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -154,14 +154,6 @@ class Python < Formula import _sre _sre.MAXREPEAT = 65535 # this monkey-patches all other places of "from _sre import MAXREPEAT"' EOS - - # Write our sitecustomize.py to tell python about the correct site-package - # dir because we moved it. (Note, we had to install distribute and pip - # without the help of sitecustomize.py because HOMEBREW_PREFIX/opt/python - # is not yet linked) - # We reuse the PythonInstalled requirement here for the sitecustomize.py - ENV.prepend_path 'PATH', bin - PythonInstalled.new("2.7").modify_build_environment end def distutils_fix_superenv(args) -- cgit v1.2.3