diff --git a/Formula/mimms.rb b/Formula/mimms.rb index ee5386a6d9..a477417547 100644 --- a/Formula/mimms.rb +++ b/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