Permalink
Browse files

enchant: Don't download of distribute on-the-fly

  • Loading branch information...
1 parent 2058d5c commit 99ce606d013e0e5e149db0f59f87faf9b016d3a8 @samueljohn samueljohn committed Sep 3, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 Library/Formula/enchant.rb
@@ -26,6 +26,8 @@ def install
if build.with? 'python'
# Now we handle the python bindings from the subformulae PyEnchant
PyEnchant.new.brew do
+ # Don't download and install distribute now
+ inreplace 'setup.py', "distribute_setup.use_setuptools()", ""
python do
ENV['PYENCHANT_LIBRARY_PATH'] = lib/'libenchant.dylib'
system python, 'setup.py', 'install', "--prefix=#{prefix}",

0 comments on commit 99ce606

Please sign in to comment.