python / cpython

The Python programming language
https://www.python.org
Other
63.21k stars 30.27k forks source link

Always download Python no matter If there is Python in computer when build Python in Windows #103434

Open tasty0tomato opened 1 year ago

tasty0tomato commented 1 year ago

As says in PCbuild/readme.txt

1a. Optionally install Python 3.6 or later. If not installed, get_externals.bat (via build.bat) will download and use Python via NuGet.

I tried both 32bit and 64bit Python in my computer, but after I ran 'build.bat', it always downloaded the latest 32-bit Python.

rruuaanng commented 1 month ago

As says in PCbuild/readme.txt

1a. Optionally install Python 3.6 or later. If not installed, get_externals.bat (via build.bat) will download and use Python via NuGet.

I tried both 32bit and 64bit Python in my computer, but after I ran 'build.bat', it always downloaded the latest 32-bit Python.

As says in PCbuild/readme.txt

1a. Optionally install Python 3.6 or later. If not installed, get_externals.bat (via build.bat) will download and use Python via NuGet.

I tried both 32bit and 64bit Python in my computer, but after I ran 'build.bat', it always downloaded the latest 32-bit Python.

This is to ensure that the build always completes, which I think is correct.

zooba commented 1 month ago

We should drop the "3.6" there and replace it with "sufficiently recent". Chances are it needed to download it because we require at least 3.10, and obviously that version gets updated without changing this doc file, so we should just take it out of the doc file.

There's more detailed information in the "Getting External Sources" section, so the referenced text (from the "Quick Start Guide") should not be made more complex or detailed.