bpo-33522: Enable CI builds on Visual Studio Team Services (#6865)

This commit is contained in:
Steve Dower 2018-05-16 17:50:29 -04:00 committed by GitHub
parent 713a936736
commit e5f41d2f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 603 additions and 25 deletions

View file

@ -169,7 +169,9 @@ def _candidate_tempdir_list():
# Failing that, try OS-specific locations.
if _os.name == 'nt':
dirlist.extend([ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ])
dirlist.extend([ _os.path.expanduser(r'~\AppData\Local\Temp'),
_os.path.expandvars(r'%SYSTEMROOT%\Temp'),
r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ])
else:
dirlist.extend([ '/tmp', '/var/tmp', '/usr/tmp' ])