Commit 706812b 1 parent c64ed97 commit 706812b Copy full SHA for 706812b
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1319,7 +1319,9 @@ def configure_inspector(o):
1319
1319
o[' variables' ][' v8_inspector' ] = b(not disable_inspector)
1320
1320
1321
1321
1322
- def get_bin_override ():
1322
+ def make_bin_override ():
1323
+ if sys.platform == ' win32' :
1324
+ raise Exception(' make_bin_override should not be called on win32.' )
1323
1325
# If the system python is not the python we are running (which should be
1324
1326
# python 2), then create a directory with a symlink called `python` to our
1325
1327
# sys.executable. This directory will be prefixed to the PATH, so that
@@ -1426,7 +1428,8 @@ if options.prefix:
1426
1428
1427
1429
config = ' \n' .join(map(' =' .join, config.iteritems ())) + ' \n'
1428
1430
1429
- bin_override = get_bin_override ()
1431
+ # On Windows there's no reason to search for a different python binary.
1432
+ bin_override = None if sys.platform == ' win32' else make_bin_override ()
1430
1433
if bin_override:
1431
1434
config = ' export PATH:=' + bin_override + ' :$(PATH)\n' + config
1432
1435
You can’t perform that action at this time.
0 commit comments