@@ -1466,7 +1466,7 @@ def find_additional_dependencies(project: pathlib.Path):
1466
1466
return res
1467
1467
1468
1468
1469
- def build_cpython (arch : str , profile ):
1469
+ def build_cpython (python_entry_name : str , arch : str , profile ):
1470
1470
static = profile == "static"
1471
1471
pgo = "-pgo" in profile
1472
1472
@@ -1484,8 +1484,8 @@ def build_cpython(arch: str, profile):
1484
1484
xz_archive = download_entry ("xz" , BUILD )
1485
1485
zlib_archive = download_entry ("zlib" , BUILD )
1486
1486
1487
- python_archive = download_entry ("cpython-3.7" , BUILD )
1488
- entry = DOWNLOADS ["cpython-3.7" ]
1487
+ python_archive = download_entry (python_entry_name , BUILD )
1488
+ entry = DOWNLOADS [python_entry_name ]
1489
1489
1490
1490
python_version = entry ["version" ]
1491
1491
@@ -1877,7 +1877,7 @@ def main():
1877
1877
build_openssl (perl_path , arch , profile = args .profile )
1878
1878
1879
1879
LOG_PREFIX [0 ] = "cpython"
1880
- tar_path = build_cpython (arch , profile = args .profile )
1880
+ tar_path = build_cpython ("cpython-3.7" , arch , profile = args .profile )
1881
1881
1882
1882
compress_python_archive (
1883
1883
tar_path , DIST , "%s-%s" % (tar_path .stem , now .strftime ("%Y%m%dT%H%M" )),
0 commit comments