comparison contrib/packaging/hgpackaging/inno.py @ 45752:d270b9b797a7 stable

contrib: split Windows requirements into multiple files Package support for Python 2 has diverged significantly. It is no longer trivial to maintain a single requirements file that supports both Python 2 and 3 because the set of packages and versions varies wildly. This commit split up the Windows requirements files so we have variants for Python 2 and 3. As part of this, I also renamed the files to have what I believe to be more reasonable naming ("win32" felt like a weird identifier to me). We can see that some package versions decreated on 2.7. This is because the old pinned versions weren't compatible with Python 2.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 21 Oct 2020 21:53:19 -0700
parents 9ade217b550d
children 89a2afe31e82
comparison
equal deleted inserted replaced
45751:60d0634c43c2 45752:d270b9b797a7
64 arch = 'x64' if vc_x64 else 'x86' 64 arch = 'x64' if vc_x64 else 'x86'
65 inno_build_dir = build_dir / ('inno-py2exe-%s' % arch) 65 inno_build_dir = build_dir / ('inno-py2exe-%s' % arch)
66 staging_dir = inno_build_dir / 'stage' 66 staging_dir = inno_build_dir / 'stage'
67 67
68 requirements_txt = ( 68 requirements_txt = (
69 source_dir / 'contrib' / 'packaging' / 'requirements_win32.txt' 69 source_dir / 'contrib' / 'packaging' / 'requirements-windows-py2.txt'
70 ) 70 )
71 71
72 inno_build_dir.mkdir(parents=True, exist_ok=True) 72 inno_build_dir.mkdir(parents=True, exist_ok=True)
73 73
74 build_py2exe( 74 build_py2exe(