euler-py: make click single-version-externally-managed

This commit is contained in:
Tim D. Smith 2014-11-10 12:03:25 -08:00
parent 103347c8c2
commit fe9187b598

View file

@ -22,7 +22,8 @@ class EulerPy < Formula
def install
ENV.prepend_create_path "PYTHONPATH", "#{libexec}/lib/python2.7/site-packages"
resource("click").stage do
system "python", "setup.py", "install", "--prefix=#{libexec}"
system "python", "setup.py", "install", "--prefix=#{libexec}",
"--single-version-externally-managed", "--record=installed.txt"
end
ENV.prepend_create_path "PYTHONPATH", "#{lib}/python2.7/site-packages"