Skip to content

Commit

Permalink
python: install flat setuptools, pip
Browse files Browse the repository at this point in the history
Avoid installing eggs to avoid problems with multiple installed
versions.
  • Loading branch information
tdsmith committed Jul 3, 2015
1 parent 20a411a commit e079f8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/python.rb
Expand Up @@ -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}"]

Expand Down

0 comments on commit e079f8f

Please sign in to comment.