@@ -107,7 +107,6 @@ def process_wheelhouse_requirements(target_python: Path, winpydirbase: Path,args
107
107
"""
108
108
Handle installation and conversion of wheelhouse requirements.
109
109
"""
110
- log_section (f"🙏 Step 5: install wheelhouse requirements { args .wheelhousereq } " )
111
110
wheelhousereq = Path (args .wheelhousereq )
112
111
kind = "local"
113
112
out = winpydirbase .parent / f"pylock.{ file_postfix } _wheels{ kind } .toml"
@@ -192,15 +191,15 @@ def main():
192
191
193
192
log_section (f"Preparing build for Python { args .python_target } ({ args .arch } -bit)" )
194
193
195
- log_section (f"🙏 Step 0 : displace old { Path (winpydirbase )} " )
194
+ log_section (f"🙏 Step 1 : displace old { Path (winpydirbase )} " )
196
195
delete_folder_if_exists (winpydirbase .parent , check_flavor = args .flavor ) #bu{flavor]}
197
196
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 } " )
199
198
run_make_py (str (build_python ), winpydirbase , args )
200
199
201
200
check_env_bat (winpydirbase )
202
201
203
- log_section ("🙏 Step 3: install requirements" )
202
+ log_section ("🙏 Step 3: install requirements" )
204
203
205
204
for label , req in [
206
205
("Mandatory" , args .mandatory_req ),
@@ -209,23 +208,23 @@ def main():
209
208
]:
210
209
pip_install (target_python , req , args .constraints , args .find_links , label )
211
210
212
- log_section ("🙏 Step 4: Patch Winpython" )
211
+ log_section ("🙏 Step 4: Patch Winpython" )
213
212
patch_winpython (target_python )
214
213
214
+ log_section (f"🙏 Step 5: install wheelhouse requirements { args .wheelhousereq } " )
215
215
if args .wheelhousereq :
216
216
process_wheelhouse_requirements (target_python , winpydirbase , args , file_postfix )
217
217
218
- log_section ("🙏 Step 6: install lockfiles" )
218
+ log_section ("🙏 Step 6: install lockfiles" )
219
219
print (target_python , winpydirbase , args .constraints , args .find_links , file_postfix )
220
220
generate_lockfiles (target_python , winpydirbase , args .constraints , args .find_links , file_postfix )
221
221
222
- # 6) generate changelog
222
+
223
+ log_section (f"🙏 Step 7: generate changelog" )
223
224
mdn = f"WinPython{ args .flavor } -{ args .arch } bit-{ winpyver2 } .md"
224
225
out = f"WinPython{ args .flavor } -{ args .arch } bit-{ winpyver2 } _History.md"
225
226
changelog_dir = log_dir .parent / "changelogs"
226
227
227
- log_section (f"🙏 Step 6: generate changelog { mdn } " )
228
-
229
228
cmd = ["set" , f"WINPYVER2={ winpyver2 } &" , "set" , f"WINPYFLAVOR={ args .flavor } &" ,
230
229
"set" , f"WINPYVER={ winpyver2 } { args .flavor } { args .release_level } &" ,
231
230
str (target_python ), "-X" , "utf8" , "-c" ,
@@ -245,10 +244,9 @@ def main():
245
244
)]
246
245
run_command (cmd , check = False )
247
246
shutil .copyfile (winpydirbase .parent / out , changelog_dir / out )
248
- log_section ("✅ Step 6 complete" )
249
247
250
248
if args .create_installer != "" :
251
- log_section ("🙏 Step 7 Create Installer" )
249
+ log_section ("🙏 Step 8: Create Installer" )
252
250
stem = f"WinPython{ args .arch } -{ winpyver2 } { args .flavor } { args .release_level } "
253
251
cmd = [str (target_python ), "-c" ,
254
252
f"from wppm import utils; utils.command_installer_7zip(r'{ winpydirbase } ', r'{ winpydirbase .parent } ', r'{ stem } ', r'{ args .create_installer } ')" ]
0 commit comments