8000 unix: use python_version variable · adiantek/python-build-standalone@d5fe00d · GitHub
[go: up one dir, main page]

Skip to content

Commit d5fe00d

Browse files
committed
unix: use python_version variable
1 parent 42d6154 commit d5fe00d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpython-unix/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ def build_cpython(
712712
"""Build CPython in a Docker image'"""
713713
entry_name = "cpython-%s" % version
714714
entry = DOWNLOADS[entry_name]
715+
python_version = entry["version"]
715716

716717
python_archive = download_entry(entry_name, DOWNLOADS_PATH)
717718
setuptools_archive = download_entry("setuptools", DOWNLOADS_PATH)
@@ -732,7 +733,7 @@ def build_cpython(
732733
setup = derive_setup_local(
733734
static_modules_lines,
734735
python_archive,
735-
python_version=entry["version"],
736+
python_version=python_version,
736737
musl="musl" in target_triple,
737738
debug=optimizations == "debug",
738739
disabled=disabled_static_modules,

0 commit comments

Comments
 (0)
0