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.
This commit is contained in:
parent
a3645015c3
commit
e3126bf25d
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue