@@ -107,7 +107,6 @@ def process_wheelhouse_requirements(target_python: Path, winpydirbase: Path,args
107107 """
108108 Handle installation and conversion of wheelhouse requirements.
109109 """
110- log_section (f"🙏 Step 5: install wheelhouse requirements { args .wheelhousereq } " )
111110 wheelhousereq = Path (args .wheelhousereq )
112111 kind = "local"
113112 out = winpydirbase .parent / f"pylock.{ file_postfix } _wheels{ kind } .toml"
@@ -192,15 +191,15 @@ def main():
192191
193192 log_section (f"Preparing build for Python { args .python_target } ({ args .arch } -bit)" )
194193
195- log_section (f"🙏 Step 0 : displace old { Path (winpydirbase )} " )
194+ log_section (f"🙏 Step 1 : displace old { Path (winpydirbase )} " )
196195 delete_folder_if_exists (winpydirbase .parent , check_flavor = args .flavor ) #bu{flavor]}
197196
198- log_section (f"🙏 Step 1 : make.py Python with { str (build_python )} at ({ winpydirbase } " )
197+ log_section (f"🙏 Step 2 : make.py Python with { str (build_python )} at ({ winpydirbase } " )
199198 run_make_py (str (build_python ), winpydirbase , args )
200199
201200 check_env_bat (winpydirbase )
202201
203- log_section ("🙏 Step 3: install requirements" )
202+ log_section ("🙏 Step 3: install requirements" )
204203
205204 for label , req in [
206205 ("Mandatory" , args .mandatory_req ),
@@ -209,23 +208,23 @@ def main():
209208 ]:
210209 pip_install (target_python , req , args .constraints , args .find_links , label )
211210
212- log_section ("🙏 Step 4: Patch Winpython" )
211+ log_section ("🙏 Step 4: Patch Winpython" )
213212 patch_winpython (target_python )
214213
214+ log_section (f"🙏 Step 5: install wheelhouse requirements { args .wheelhousereq } " )
215215 if args .wheelhousereq :
216216 process_wheelhouse_requirements (target_python , winpydirbase , args , file_postfix )
217217
218- log_section ("🙏 Step 6: install lockfiles" )
218+ log_section ("🙏 Step 6: install lockfiles" )
219219 print (target_python , winpydirbase , args .constraints , args .find_links , file_postfix )
220220 generate_lockfiles (target_python , winpydirbase , args .constraints , args .find_links , file_postfix )
221221
222- # 6) generate changelog
222+
223+ log_section (f"🙏 Step 7: generate changelog" )
223224 mdn = f"WinPython{ args .flavor } -{ args .arch } bit-{ winpyver2 } .md"
224225 out = f"WinPython{ args .flavor } -{ args .arch } bit-{ winpyver2 } _History.md"
225226 changelog_dir = log_dir .parent / "changelogs"
226227
227- log_section (f"🙏 Step 6: generate changelog { mdn } " )
228-
229228 cmd = ["set" , f"WINPYVER2={ winpyver2 } &" , "set" , f"WINPYFLAVOR={ args .flavor } &" ,
230229 "set" , f"WINPYVER={ winpyver2 } { args .flavor } { args .release_level } &" ,
231230 str (target_python ), "-X" , "utf8" , "-c" ,
@@ -245,10 +244,9 @@ def main():
245244 )]
246245 run_command (cmd , check = False )
247246 shutil .copyfile (winpydirbase .parent / out , changelog_dir / out )
248- log_section ("✅ Step 6 complete" )
249247
250248 if args .create_installer != "" :
251- log_section ("🙏 Step 7 Create Installer" )
249+ log_section ("🙏 Step 8: Create Installer" )
252250 stem = f"WinPython{ args .arch } -{ winpyver2 } { args .flavor } { args .release_level } "
253251 cmd = [str (target_python ), "-c" ,
254252 f"from wppm import utils; utils.command_installer_7zip(r'{ winpydirbase } ', r'{ winpydirbase .parent } ', r'{ stem } ', r'{ args .create_installer } ')" ]
0 commit comments