@@ -167,27 +167,13 @@ def _extract_python_archive(self):
167
167
168
168
def _copy_essential_files (self ):
169
169
"""Copies pre-made objects"""
170
- self ._print_action ("Copying default scripts" )
171
- copy_items ([PORTABLE_DIRECTORY / "scripts" ], self .winpython_directory / "scripts" , self .verbose )
172
-
173
170
self ._print_action ("Copying launchers" )
174
171
copy_items ([PORTABLE_DIRECTORY / "launchers_final" ], self .winpython_directory , self .verbose )
175
172
176
- docs_target_directory = self .winpython_directory / "notebooks" / "docs"
177
- self ._print_action (f"Copying documentation to { docs_target_directory } " )
178
- copy_items (self .documentation_directories , docs_target_directory , self .verbose )
179
-
180
173
tools_target_directory = self .winpython_directory / "t"
181
174
self ._print_action (f"Copying tools to { tools_target_directory } " )
182
175
copy_items (self .tools_directories , tools_target_directory , self .verbose )
183
176
184
- if (nodejs_current_directory := tools_target_directory / "n" ).is_dir ():
185
- self ._print_action (f"Moving tools from { nodejs_current_directory } to { tools_target_directory .parent / NODEJS_RELATIVE_PATH } " )
186
- try :
187
- shutil .move (nodejs_current_directory , tools_target_directory .parent / NODEJS_RELATIVE_PATH )
188
- except Exception as e :
189
- print (f"Error moving Node.js directory: { e } " )
190
-
191
177
def _create_initial_batch_scripts (self ):
192
178
"""Creates initial batch scripts, including environment setup."""
193
179
self ._print_action ("Creating initial batch scripts" )
@@ -295,7 +281,6 @@ def make_all(build_number: int, release_level: str, pyver: str, architecture: in
295
281
os .makedirs (build_directory , exist_ok = True )
296
282
# use source_dirs as the directory to re-build Winpython wheel
297
283
winpython_source_dir = Path (__file__ ).resolve ().parent
298
- # 2025-06-28 no more: rebuild_winpython_package(winpython_source_dir, Path(source_dirs), architecture, verbose)
299
284
300
285
builder = WinPythonDistributionBuilder (
301
286
build_number , release_level , build_directory , wheels_directory = source_dirs ,
0 commit comments