@@ -961,29 +961,6 @@ def _create_standard_batch_scripts(self):
961961 self ._print_action_done ()
962962
963963
964- def _run_complementary_batch_scripts (self , script_name = "run_complement.bat" ):
965- """Runs complementary batch scripts from tools directories."""
966- print (f"Running { script_name } from tools directories..." )
967- unique_tools_parent_dirs = set (str (Path (s ).parent ) for s in self .tools_directories )
968- for tools_parent_dir in unique_tools_parent_dirs :
969- script_path = Path (tools_parent_dir ) / script_name
970- if script_path .is_file ():
971- print (f' Executing "{ script_path } " for "{ self .winpy_dir } "' )
972- self ._print_action (f'Executing "{ script_path } " for "{ self .winpy_dir } " !' )
973- try :
974- subprocess .run (
975- [str (script_path ), str (self .winpy_dir )],
976- shell = True ,
977- check = True ,
978- stderr = sys .stderr ,
979- stdout = sys .stdout
980- )
981- except subprocess .CalledProcessError as e :
982- print (f" Execution failed: { e } " , file = sys .stderr )
983- self ._print_action (f"Execution failed: { e } !" )
984- self ._print_action_done ()
985-
986-
987964 def build (self , remove_existing : bool = True , requirements = None , winpy_dirname : str = None ):
988965 """Make WinPython distribution in target directory from the installers
989966 located in wheels_dir
@@ -1048,7 +1025,6 @@ def build(self, remove_existing: bool = True, requirements=None, winpy_dirname:
10481025 self ._print_action (f"piping { ' ' .join (actions )} " )
10491026 self .distribution .do_pip_action (actions )
10501027
1051- self ._run_complementary_batch_scripts ()
10521028 self .distribution .patch_standard_packages ()
10531029
10541030 self ._print_action ("Cleaning up distribution" )
0 commit comments