Stop removing *all* python files on install

master
Jack Nagel 2014-03-30 22:39:07 -05:00
parent 91f6bc81c2
commit 0ac8e242f1
1 changed files with 1 additions and 1 deletions

View File

@ -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