diff options
| author | Mike McQuaid | 2014-01-04 13:11:09 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:44 +0000 |
| commit | 2a3db6cd96256c516f92173c6a47032a170c24db (patch) | |
| tree | bbd05b865df8ac02328f02f8d3b224ac88210e7d /Library | |
| parent | 6af0796b84a2d80692529b1d75480aac0c861754 (diff) | |
| download | homebrew-2a3db6cd96256c516f92173c6a47032a170c24db.tar.bz2 | |
mimms: cleanup python usage.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mimms.rb | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Library/Formula/mimms.rb b/Library/Formula/mimms.rb index ee5386a6d..a47741754 100644 --- a/Library/Formula/mimms.rb +++ b/Library/Formula/mimms.rb @@ -16,19 +16,12 @@ class Mimms < Formula end def install - python do - system python, "setup.py", "install", "--prefix=#{prefix}" - end - end - - def caveats - python.standard_caveats if python + system "python", "setup.py", "install", "--prefix=#{prefix}" + bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) end test do - python do - system "#{bin}/mimms", "--version" - end + system "#{bin}/mimms", "--version" end end |
