mirror of
https://github.com/python/cpython.git
synced 2025-10-07 23:51:16 +00:00
bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6926)
(cherry picked from commit e5f41d2f1e
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
This commit is contained in:
parent
54a5247837
commit
8965d75c90
22 changed files with 603 additions and 25 deletions
|
@ -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' ])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue