anticipate python 3.5 in .pth audit

This commit is contained in:
Tim D. Smith 2015-05-05 13:45:11 -07:00
parent 417b1dffa5
commit 86612c253d

View File

@ -127,7 +127,7 @@ module FormulaCellarChecks
end
def check_easy_install_pth lib
pth_found = Dir["#{lib}/python{2.7,3.4}/site-packages/easy-install.pth"].map { |f| File.dirname(f) }
pth_found = Dir["#{lib}/python{2.7,3}*/site-packages/easy-install.pth"].map { |f| File.dirname(f) }
return if pth_found.empty?
<<-EOS.undent