equal
deleted
inserted
replaced
364 else: |
364 else: |
365 exename = 'python' |
365 exename = 'python' |
366 if sys.platform == 'win32': |
366 if sys.platform == 'win32': |
367 exename = 'python.exe' |
367 exename = 'python.exe' |
368 if getattr(os, 'symlink', None): |
368 if getattr(os, 'symlink', None): |
369 vlog("# Making python executable in test path a symlink to '%s'" % |
369 vlog("# Making python executable in test path a symlink to '%s'" % |
370 sys.executable) |
370 sys.executable) |
371 mypython = os.path.join(BINDIR, exename) |
371 mypython = os.path.join(BINDIR, exename) |
372 try: |
372 try: |
373 os.symlink(sys.executable, mypython) |
373 os.symlink(sys.executable, mypython) |
374 except OSError, err: |
374 except OSError, err: |