aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 13:11:09 +0000
committerMike McQuaid2014-01-04 13:35:44 +0000
commit2a3db6cd96256c516f92173c6a47032a170c24db (patch)
treebbd05b865df8ac02328f02f8d3b224ac88210e7d /Library/Formula
parent6af0796b84a2d80692529b1d75480aac0c861754 (diff)
downloadhomebrew-2a3db6cd96256c516f92173c6a47032a170c24db.tar.bz2
mimms: cleanup python usage.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mimms.rb13
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