@@ -61,7 +61,7 @@ call %my_buildenv%\scripts\env.bat
6161
6262REM Create basic build infrastructure
6363echo " (%date% %time% ) Create basic build infrastructure" >> %my_archive_log%
64- python.exe -c " from make import *;make_all(%my_release% , '%my_release_level% ', basedir_wpy=r'%my_WINPYDIRBASE% ', verbose=True, flavor='%my_flavor% ', install_options=r'%my_install_options% ', find_links=r'%my_find_links% ', source_dirs=r'%my_source_dirs% ', toolsdirs=r'%my_toolsdirs% ', create_installer='False', python_target_release=' %my_python_target_release% ' )" >> %my_archive_log%
64+ python.exe -c " from make import *;make_all(%my_release% , '%my_release_level% ', basedir_wpy=r'%my_WINPYDIRBASE% ', verbose=True, flavor='%my_flavor% ', install_options=r'%my_install_options% ', find_links=r'%my_find_links% ', source_dirs=r'%my_source_dirs% ', toolsdirs=r'%my_toolsdirs% ', create_installer='False')" >> %my_archive_log%
6565
6666REM Check infrastructure is in place
6767echo " (%date% %time% ) Check infrastructure" >> %my_archive_log%
@@ -70,7 +70,7 @@ set WINPYDIRBASE=%my_WINPYDIRBASE%
7070if not exist %my_WINPYDIRBASE% \scripts\env.bat (
7171 @ echo off
7272 echo as %my_WINPYDIRBASE% \scripts\env.bat does not exist
73- echo please check and correct my_python_target_release= %my_python_target_release%
73+ echo please check and correct:
7474 echo my_arch=%my_arch%
7575 echo my_python_target_release=%my_python_target_release%
7676 echo my_release=%my_release%
@@ -206,12 +206,19 @@ call %my_WINPYDIRBASE%\scripts\env.bat
206206
207207REM Generate changelog and binaries
208208echo " (%date% %time% ) Generate changelog and binaries" >> %my_archive_log%
209- set path = %my_original_path%
210- cd /D %~dp0
211- call %my_buildenv% \scripts\env.bat
212209
213- python.exe -c " from make import *;make_all(%my_release% , '%my_release_level% ', basedir_wpy=r'%my_WINPYDIRBASE% ', verbose=True, flavor='%my_flavor% ', install_options=r'%my_install_options% ', find_links=r'%my_find_links% ', source_dirs=r'%my_source_dirs% ', create_installer='%my_create_installer% ', rebuild=False, python_target_release='%my_python_target_release% ')" >> %my_archive_log%
210+ rem markdowm and markdown diff
211+ set mdn = WinPython%my_flavor% -%my_arch% bit-%WINPYVER2% .md
212+ %target_python_exe% -m wppm -md> %my_basedir% \bu%my_flavor% \%mdn%
213+ copy/y %my_basedir% \bu%my_flavor% \%mdn% %~dp0 changelogs\%mdn%
214+
215+ set out = WinPython%my_flavor% -%my_arch% bit-%WINPYVER2% _History.md
216+ %target_python_exe% -c " from wppm import diff ;a=(diff.compare_package_indexes(r'%WINPYVER2% ', searchdir=r'%~dp0 changelogs',flavor=r'%my_flavor% ',architecture=%my_arch% ));f=open(r'%my_basedir% \bu%my_flavor% \%out% ','w', encoding='utf-8');f.write(a);f.close()"
217+ copy/y %my_basedir% \bu%my_flavor% \%out% %~dp0 changelogs\%out%
214218
219+ rem compress
220+ set stem = WinPython%my_arch% -%WINPYVER2%%my_flavor%
221+ %target_python_exe% -c " from wppm import utils;utils.command_installer_7zip(r'%my_WINPYDIRBASE% ', r'%my_WINPYDIRBASE% \..',r'%stem% ', r'%my_create_installer% ')"
215222
216223echo -------------------------------------- >> %my_archive_log%
217224echo " (%date% %time% ) END OF CREATION" >> %my_archive_log%
0 commit comments