From 07bfaf64e7edd77009a6956d58e4e0656b78a9d7 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Thu, 6 Dec 2012 15:29:56 -0800 Subject: duplicity: Fix installation with distutils.cfg The Homebrew Python installations place a `distutils.cfg` file that can override arguments passed on the command line. Specifically, our `distutils.cfg` sets a value for `install-lib`, so `--install-lib` needs to be passed to `setup.py` to override this default. Passing `--install-purelib` and `--install-platlib` is not sufficient. --- Library/Formula/duplicity.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/duplicity.rb b/Library/Formula/duplicity.rb index 387403e05..2ee26e33e 100644 --- a/Library/Formula/duplicity.rb +++ b/Library/Formula/duplicity.rb @@ -13,8 +13,7 @@ class Duplicity < Formula # Install mostly into libexec system "python", "setup.py", "install", "--prefix=#{prefix}", - "--install-purelib=#{libexec}", - "--install-platlib=#{libexec}", + "--install-lib=#{libexec}", "--install-scripts=#{bin}" # Shift files around to avoid needing a PYTHONPATH -- cgit v1.2.3