@@ -961,29 +961,6 @@ def _create_standard_batch_scripts(self):
961
961
self ._print_action_done ()
962
962
963
963
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
-
987
964
def build (self , remove_existing : bool = True , requirements = None , winpy_dirname : str = None ):
988
965
"""Make WinPython distribution in target directory from the installers
989
966
located in wheels_dir
@@ -1048,7 +1025,6 @@ def build(self, remove_existing: bool = True, requirements=None, winpy_dirname:
1048
1025
self ._print_action (f"piping { ' ' .join (actions )} " )
1049
1026
self .distribution .do_pip_action (actions )
1050
1027
1051
- self ._run_complementary_batch_scripts ()
1052
1028
self .distribution .patch_standard_packages ()
1053
1029
1054
1030
self ._print_action ("Cleaning up distribution" )
0 commit comments