Blob Blame Raw
diff -up ./node_build/dependencies/libuv/gyp_uv.py.python3 ./node_build/dependencies/libuv/gyp_uv.py
--- ./node_build/dependencies/libuv/gyp_uv.py.python3	2019-08-06 18:58:48.000000000 -0400
+++ ./node_build/dependencies/libuv/gyp_uv.py	2019-09-19 13:11:51.125240959 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 import os
 import platform
@@ -29,7 +29,7 @@ def host_arch():
 def run_gyp(args):
   rc = gyp.main(args)
   if rc != 0:
-    print 'Error running GYP'
+    print('Error running GYP')
     sys.exit(rc)
 
 
@@ -80,5 +80,5 @@ if __name__ == '__main__':
     args.append('-Dcomponent=static_library')
 
   gyp_args = list(args)
-  print gyp_args
+  print(gyp_args)
   run_gyp(gyp_args)
diff -up ./node_build/FindPython2.js.python3 ./node_build/FindPython2.js
--- ./node_build/FindPython2.js.python3	2019-09-19 13:14:40.677573302 -0400
+++ ./node_build/FindPython2.js	2019-09-19 13:15:15.796056265 -0400
@@ -16,12 +16,12 @@ var nThen = require('nthen');
 var Spawn = require('child_process').spawn;
 var Fs = require('fs');
 
-var PYTHONS = ["python", "python2", "python2.7", "python2.6", "python2.5"];
+var PYTHONS = ["python", "python2", "python2.7", "python2.6", "python3"];
 
 var SCRIPT = [
     'import sys;',
     'print(sys.version_info);',
-    'exit(sys.version_info[0] != 2 or sys.version_info[1] < 7);'
+    'exit(sys.version_info[0] < 2 or sys.version_info[1] < 6);'
 ].join('\n');
 
 var find = module.exports.find = function (tempFile, callback) {