diff options
| author | Mike McQuaid | 2014-05-01 21:09:37 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-05-06 19:34:03 +0100 |
| commit | 14b86e8babcd97565a39775f62fb5732388668a9 (patch) | |
| tree | 79926bb2b9cccf44ba5d28c971eedb0ffc196b6b /Library/Formula | |
| parent | 10875026060ae935f3dff941b755ab6ec2287661 (diff) | |
| download | homebrew-14b86e8babcd97565a39775f62fb5732388668a9.tar.bz2 | |
pebble-sdk: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pebble-sdk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pebble-sdk.rb b/Library/Formula/pebble-sdk.rb index 733df58f9..e0843e264 100644 --- a/Library/Formula/pebble-sdk.rb +++ b/Library/Formula/pebble-sdk.rb @@ -12,7 +12,6 @@ class PebbleSdk < Formula end depends_on :macos => :mountain_lion - depends_on :python depends_on 'freetype' => :recommended depends_on 'mpfr' => :build depends_on 'gmp' => :build @@ -74,6 +73,7 @@ class PebbleSdk < Formula s.gsub! /^process = subprocess\.Popen\(args, shell=False, env=local_python_env\)/, "process = subprocess.Popen(args, shell=False)" end + ENV["PYTHONPATH"] = lib+"python2.7/site-packages" ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages' install_args = [ "setup.py", "install", "--prefix=#{libexec}" ] |
