@@ -30,7 +30,7 @@ def find_7zip_executable() -> str:
30
30
possible_program_files = [
31
31
Path (r"C:\Program Files" ),
32
32
Path (r"C:\Program Files (x86)" ),
33
- Path (sys .prefix ).parent / "t" ,
33
+ Path (sys .prefix ).parent / "t" ,
34
34
]
35
35
for base_dir in possible_program_files :
36
36
if (executable_path := base_dir / "7-Zip" / "7z.exe" ).is_file ():
@@ -291,13 +291,6 @@ def pre_path_entries(self) -> list[str]:
291
291
r".." + self .NODEJS_RELATIVE_PATH ,
292
292
]
293
293
294
- @property
295
- def documentation_directories_list (self ) -> list [Path ]:
296
- """Returns the list of documentation directories to include."""
297
- if (default_docs_directory := Path (__file__ ).parent / "docs" ).is_dir ():
298
- return [default_docs_directory ] + self .documentation_directories
299
- return self .documentation_directories
300
-
301
294
def create_installer_7zip (self , installer_type : str = ".exe" ):
302
295
"""Creates a WinPython installer using 7-Zip: ".exe", ".7z", ".zip")"""
303
296
self ._print_action (f"Creating WinPython installer ({ installer_type } )" )
@@ -347,7 +340,7 @@ def _copy_essential_files(self):
347
340
348
341
docs_target_directory = self .winpython_directory / "notebooks" / "docs"
349
342
self ._print_action (f"Copying documentation to { docs_target_directory } " )
350
- _copy_items (self .documentation_directories_list , docs_target_directory , self .verbose )
343
+ _copy_items (self .documentation_directories , docs_target_directory , self .verbose )
351
344
352
345
tools_target_directory = self .winpython_directory / "t"
353
346
self ._print_action (f"Copying tools to { tools_target_directory } " )
0 commit comments