diff options
| author | Mike McQuaid | 2014-05-01 21:09:54 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-05-06 19:34:03 +0100 |
| commit | 40abc3a4ab2611af5ef9cbbcdeead8872eca0f00 (patch) | |
| tree | 00aeb65455d8ecaca5d70120c026ab2b20ef5323 /Library/Formula | |
| parent | 14b86e8babcd97565a39775f62fb5732388668a9 (diff) | |
| download | homebrew-40abc3a4ab2611af5ef9cbbcdeead8872eca0f00.tar.bz2 | |
pssh: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pssh.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/pssh.rb b/Library/Formula/pssh.rb index 6a01fe51c..2d7564ea8 100644 --- a/Library/Formula/pssh.rb +++ b/Library/Formula/pssh.rb @@ -5,9 +5,11 @@ class Pssh < Formula url 'https://parallel-ssh.googlecode.com/files/pssh-2.3.1.tar.gz' sha1 '65736354baaa289cffdf374eb2ffd9aa1eda7d85' - depends_on :python + depends_on :python if MacOS.version <= :snow_leopard def install + ENV["PYTHONPATH"] = lib+"python2.7/site-packages" + system "python", "setup.py", "install", "--prefix=#{prefix}", "--install-data=#{share}" |
