diff options
| author | Mike McQuaid | 2014-01-04 13:07:17 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:19:47 +0000 |
| commit | 0f771d1dacc116e27882daf40b30b0370e6000b4 (patch) | |
| tree | 4b0b8ac11da172937910b91d248c5f4a4bfc73a8 /Library/Formula | |
| parent | 0062af953db5f0448d3986a7f6dc8888eef418eb (diff) | |
| download | homebrew-0f771d1dacc116e27882daf40b30b0370e6000b4.tar.bz2 | |
hg-flow: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/hg-flow.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/hg-flow.rb b/Library/Formula/hg-flow.rb index 46defd041..5b5c35b01 100644 --- a/Library/Formula/hg-flow.rb +++ b/Library/Formula/hg-flow.rb @@ -11,13 +11,11 @@ class HgFlow < Formula def install if build.head? - python do - cd 'src/hgflow' - system python, 'setup.py', 'install', "--prefix=#{prefix}" - end + cd 'src/hgflow' + system 'python', 'setup.py', 'install', "--prefix=#{prefix}" else # That strange name seems like a bug. https://bitbucket.org/yinwm/hgflow/issue/24 - python.site_packages.install 'hgflow-v0.4.pyhgflow-v0.4.py' => 'hgflow.py' + (lib/'python2.7/site-packages').install 'hgflow-v0.4.pyhgflow-v0.4.py' => 'hgflow.py' end end |
