contrib/automation/hgautomation/windows.py
changeset 48405 fc1ba19ec4a0
parent 45957 89a2afe31e82
child 48934 d953a42b157d
equal deleted inserted replaced
48404:8ec4e8d7bbe6 48405:fc1ba19ec4a0
   127 WHEEL_FILENAME_PYTHON37_X64 = 'mercurial-{version}-cp37-cp37m-win_amd64.whl'
   127 WHEEL_FILENAME_PYTHON37_X64 = 'mercurial-{version}-cp37-cp37m-win_amd64.whl'
   128 WHEEL_FILENAME_PYTHON38_X86 = 'mercurial-{version}-cp38-cp38-win32.whl'
   128 WHEEL_FILENAME_PYTHON38_X86 = 'mercurial-{version}-cp38-cp38-win32.whl'
   129 WHEEL_FILENAME_PYTHON38_X64 = 'mercurial-{version}-cp38-cp38-win_amd64.whl'
   129 WHEEL_FILENAME_PYTHON38_X64 = 'mercurial-{version}-cp38-cp38-win_amd64.whl'
   130 WHEEL_FILENAME_PYTHON39_X86 = 'mercurial-{version}-cp39-cp39-win32.whl'
   130 WHEEL_FILENAME_PYTHON39_X86 = 'mercurial-{version}-cp39-cp39-win32.whl'
   131 WHEEL_FILENAME_PYTHON39_X64 = 'mercurial-{version}-cp39-cp39-win_amd64.whl'
   131 WHEEL_FILENAME_PYTHON39_X64 = 'mercurial-{version}-cp39-cp39-win_amd64.whl'
       
   132 WHEEL_FILENAME_PYTHON310_X86 = 'mercurial-{version}-cp310-cp310-win32.whl'
       
   133 WHEEL_FILENAME_PYTHON310_X64 = 'mercurial-{version}-cp310-cp310-win_amd64.whl'
   132 
   134 
   133 EXE_FILENAME_PYTHON2_X86 = 'Mercurial-{version}-x86-python2.exe'
   135 EXE_FILENAME_PYTHON2_X86 = 'Mercurial-{version}-x86-python2.exe'
   134 EXE_FILENAME_PYTHON2_X64 = 'Mercurial-{version}-x64-python2.exe'
   136 EXE_FILENAME_PYTHON2_X64 = 'Mercurial-{version}-x64-python2.exe'
   135 EXE_FILENAME_PYTHON3_X86 = 'Mercurial-{version}-x86.exe'
   137 EXE_FILENAME_PYTHON3_X86 = 'Mercurial-{version}-x86.exe'
   136 EXE_FILENAME_PYTHON3_X64 = 'Mercurial-{version}-x64.exe'
   138 EXE_FILENAME_PYTHON3_X64 = 'Mercurial-{version}-x64.exe'
   478         dist_path / WHEEL_FILENAME_PYTHON37_X64.format(version=version),
   480         dist_path / WHEEL_FILENAME_PYTHON37_X64.format(version=version),
   479         dist_path / WHEEL_FILENAME_PYTHON38_X86.format(version=version),
   481         dist_path / WHEEL_FILENAME_PYTHON38_X86.format(version=version),
   480         dist_path / WHEEL_FILENAME_PYTHON38_X64.format(version=version),
   482         dist_path / WHEEL_FILENAME_PYTHON38_X64.format(version=version),
   481         dist_path / WHEEL_FILENAME_PYTHON39_X86.format(version=version),
   483         dist_path / WHEEL_FILENAME_PYTHON39_X86.format(version=version),
   482         dist_path / WHEEL_FILENAME_PYTHON39_X64.format(version=version),
   484         dist_path / WHEEL_FILENAME_PYTHON39_X64.format(version=version),
       
   485         dist_path / WHEEL_FILENAME_PYTHON310_X86.format(version=version),
       
   486         dist_path / WHEEL_FILENAME_PYTHON310_X64.format(version=version),
   483     )
   487     )
   484 
   488 
   485 
   489 
   486 def resolve_all_artifacts(dist_path: pathlib.Path, version: str):
   490 def resolve_all_artifacts(dist_path: pathlib.Path, version: str):
   487     return (
   491     return (
   491         dist_path / WHEEL_FILENAME_PYTHON37_X64.format(version=version),
   495         dist_path / WHEEL_FILENAME_PYTHON37_X64.format(version=version),
   492         dist_path / WHEEL_FILENAME_PYTHON38_X86.format(version=version),
   496         dist_path / WHEEL_FILENAME_PYTHON38_X86.format(version=version),
   493         dist_path / WHEEL_FILENAME_PYTHON38_X64.format(version=version),
   497         dist_path / WHEEL_FILENAME_PYTHON38_X64.format(version=version),
   494         dist_path / WHEEL_FILENAME_PYTHON39_X86.format(version=version),
   498         dist_path / WHEEL_FILENAME_PYTHON39_X86.format(version=version),
   495         dist_path / WHEEL_FILENAME_PYTHON39_X64.format(version=version),
   499         dist_path / WHEEL_FILENAME_PYTHON39_X64.format(version=version),
       
   500         dist_path / WHEEL_FILENAME_PYTHON310_X86.format(version=version),
       
   501         dist_path / WHEEL_FILENAME_PYTHON310_X64.format(version=version),
   496         dist_path / EXE_FILENAME_PYTHON2_X86.format(version=version),
   502         dist_path / EXE_FILENAME_PYTHON2_X86.format(version=version),
   497         dist_path / EXE_FILENAME_PYTHON2_X64.format(version=version),
   503         dist_path / EXE_FILENAME_PYTHON2_X64.format(version=version),
   498         dist_path / EXE_FILENAME_PYTHON3_X86.format(version=version),
   504         dist_path / EXE_FILENAME_PYTHON3_X86.format(version=version),
   499         dist_path / EXE_FILENAME_PYTHON3_X64.format(version=version),
   505         dist_path / EXE_FILENAME_PYTHON3_X64.format(version=version),
   500         dist_path / MSI_FILENAME_PYTHON2_X86.format(version=version),
   506         dist_path / MSI_FILENAME_PYTHON2_X86.format(version=version),