equal
deleted
inserted
replaced
361 path = findprogram(exename) |
361 path = findprogram(exename) |
362 if os.path.dirname(path) == exedir: |
362 if os.path.dirname(path) == exedir: |
363 return |
363 return |
364 else: |
364 else: |
365 exename = 'python' |
365 exename = 'python' |
|
366 if sys.platform == 'win32': |
|
367 exename = 'python.exe' |
366 vlog('# Making python executable in test path use correct Python') |
368 vlog('# Making python executable in test path use correct Python') |
367 mypython = os.path.join(BINDIR, exename) |
369 mypython = os.path.join(BINDIR, exename) |
368 try: |
370 try: |
369 os.symlink(sys.executable, mypython) |
371 os.symlink(sys.executable, mypython) |
370 except AttributeError: |
372 except AttributeError: |