Use env DSL

This commit is contained in:
Jack Nagel 2015-03-05 20:39:53 -05:00
parent 03d3f9d292
commit db772eee8a

View File

@ -18,7 +18,7 @@ class PythonDependency < Requirement
build? || system_python?
end
def modify_build_environment
env do
if system_python?
if python_binary == "python"
version = python_short_version