Show More
@@ -3575,9 +3575,10 b' class TestRunner(object):' | |||||
3575 | # not be in PATH by default. |
|
3575 | # not be in PATH by default. | |
3576 | extra_paths = [exedir] |
|
3576 | extra_paths = [exedir] | |
3577 | vi = sys.version_info |
|
3577 | vi = sys.version_info | |
3578 | if 'APPDATA' in os.environ: |
|
3578 | appdata = os.environ.get('APPDATA') | |
|
3579 | if appdata is not None: | |||
3579 | scripts_dir = os.path.join( |
|
3580 | scripts_dir = os.path.join( | |
3580 |
|
|
3581 | appdata, | |
3581 | 'Python', |
|
3582 | 'Python', | |
3582 | 'Python%d%d' % (vi[0], vi[1]), |
|
3583 | 'Python%d%d' % (vi[0], vi[1]), | |
3583 | 'Scripts', |
|
3584 | 'Scripts', | |
@@ -3585,7 +3586,7 b' class TestRunner(object):' | |||||
3585 |
|
3586 | |||
3586 | if vi.major == 2: |
|
3587 | if vi.major == 2: | |
3587 | scripts_dir = os.path.join( |
|
3588 | scripts_dir = os.path.join( | |
3588 |
|
|
3589 | appdata, | |
3589 | 'Python', |
|
3590 | 'Python', | |
3590 | 'Scripts', |
|
3591 | 'Scripts', | |
3591 | ) |
|
3592 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now