From e3ae1bdc042eecded413b9415d80a020f0b06f95 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 30 Mar 2014 22:39:07 -0500 Subject: Stop removing *all* python files on install --- Library/Formula/python.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 4538f0a3a..1386dc1fc 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -130,7 +130,7 @@ class Python < Formula site_packages_cellar.parent.install_symlink site_packages # Write our sitecustomize.py - Dir["#{site_packages}/*.py{,c,o}"].each {|f| Pathname.new(f).unlink } + rm_rf Dir["#{site_packages}/sitecustomize.py{,c,o}"] (site_packages/"sitecustomize.py").write(sitecustomize) # Remove old setuptools installations that may still fly around and be -- cgit v1.2.3