8000 Merge pull request #1311 from stonebig/master · winpython/winpython@adcec0a · GitHub
[go: up one dir, main page]

Skip to content

Commit adcec0a

Browse files
authored
Merge pull request #1311 from stonebig/master
remember moment msvc_runtime was nearly dropped
2 parents 50a0db6 + 72eb75e commit adcec0a

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

generate_a_winpython_distro.bat

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ echo ------------------
4646
echo 0.0 Initialize variables
4747
echo ------------------
4848

49-
if "%my_release_level%"=="" set my_release_level=b5
49+
if "%my_release_level%"=="" set my_release_level=b4
5050

5151
set my_basedir=%my_root_dir_for_builds%\bd%my_python_target%
5252

@@ -73,12 +73,17 @@ if %my_python_target%==310 (
7373
)
7474

7575
if %my_python_target%==311 (
76-
set my_python_target_release=3115
77-
set my_release=0
76+
set my_python_target_release=3118
77+
set my_release=1
7878
)
7979

8080
if %my_python_target%==312 (
81-
set my_python_target_release=3120
81+
set my_python_target_release=3123
82+
set my_release=0
83+
)
84+
85+
if %my_python_target%==313 (
86+
set my_python_target_release=3130
8287
set my_release=0
8388
)
8489

@@ -259,6 +264,11 @@ echo ----------------------------->>%my_archive_log%
259264
echo 2.3 add mandatory packages for build>>%my_archive_log%
260265
echo %date% %time% >>%my_archive_log%
261266
echo ----------------------------->>%my_archive_log%
267+
268+
rem D/2024-04-10: do not override "/vcruntime140_1.dll" with msvc_runtime wheel
269+
rem echo python.exe -c "import sys;from pathlib import Path;f=open(Path(sys.prefix) / 'pyenv.cfg', 'w');f.write('include-system-site-packages = true\n');f.close">>%my_archive_log%
270+
rem F/2024-04-10
271+
262272
rem D/2020-07-05: install msvc_runtime before packages that may want to compile
263273
echo pip install msvc_runtime --pre --no-index --trusted-host=None --find-links=%my_find_links% --upgrade
264274
echo pip install msvc_runtime --pre --no-index --trusted-host=None --find-links=%my_find_links% --upgrade>>%my_archive_log%
@@ -287,9 +297,7 @@ echo pip install -r %my_requirements_pre% -c %my_constraints% --pre --no-index
287297
echo if pip doesn't work, check the path of %my_WINPYDIRBASE%
288298

289299
pip install -r %my_requirements_pre% -c %my_constraints% --pre --no-index --trusted-host=None --find-links=%my_find_links_pre% --upgrade %new_resolver%>>%my_archive_log%
290-
)
291-
else
292-
(
300+
) else (
293301
echo no packages pre_requirements
294302
echo no packages pre_requirements>>%my_archive_log%
295303
)

0 commit comments

Comments
 (0)
0