Skip to content

Commit 7b85992

Browse files
committedFeb 1, 2016
Build: implementing ability to specify python
1 parent ab99cb6 commit 7b85992

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎rake-tasks/crazy_fun/mappings/python.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,11 @@ def handle(fun, dir, args)
219219

220220
class Install < Tasks
221221
def py_exe
222-
windows? ? "C:\\Python27\\python.exe" : "/usr/bin/python"
222+
if ENV.key? 'python'
223+
return ENV['python']
224+
else
225+
windows? ? "C:\\Python27\\python.exe" : "/usr/bin/python"
226+
end
223227
end
224228

225229
def handle(fun, dir, args)

0 commit comments

Comments
 (0)
Please sign in to comment.