aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2013-06-06 09:47:10 +0200
committerSamuel John2013-06-06 09:47:21 +0200
commit86fb9e7294e1b1cd06fa5f0890ef6874ee7f3eb0 (patch)
tree2f5e8459b81db1e540a4f8e94387555a1710b8e2 /Library
parent17b9c31a86c88f2ade248408737ef6b23fccea66 (diff)
downloadhomebrew-86fb9e7294e1b1cd06fa5f0890ef6874ee7f3eb0.tar.bz2
python: Remove duplicate code
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/python.rb8
1 files changed, 0 insertions, 8 deletions
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)