diff options
| author | Charlie Sharpsteen | 2012-12-06 15:29:56 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-12-06 15:29:56 -0800 |
| commit | 07bfaf64e7edd77009a6956d58e4e0656b78a9d7 (patch) | |
| tree | 8b4cdfb3e328e6e64dc7dedb7b9ce38a11e155dd | |
| parent | 771859671d743cf586c1f753eb7507a51748f956 (diff) | |
| download | homebrew-07bfaf64e7edd77009a6956d58e4e0656b78a9d7.tar.bz2 | |
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.
| -rw-r--r-- | Library/Formula/duplicity.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
