Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,29 +961,6 @@ def _create_standard_batch_scripts(self):
self._print_action_done()


def _run_complementary_batch_scripts(self, script_name="run_complement.bat"):
"""Runs complementary batch scripts from tools directories."""
print(f"Running {script_name} from tools directories...")
unique_tools_parent_dirs = set(str(Path(s).parent) for s in self.tools_directories)
for tools_parent_dir in unique_tools_parent_dirs:
script_path = Path(tools_parent_dir) / script_name
if script_path.is_file():
print(f' Executing "{script_path}" for "{self.winpy_dir}"')
self._print_action(f'Executing "{script_path}" for "{self.winpy_dir}" !')
try:
subprocess.run(
[str(script_path), str(self.winpy_dir)],
shell=True,
check=True,
stderr=sys.stderr,
stdout=sys.stdout
)
except subprocess.CalledProcessError as e:
print(f" Execution failed: {e}", file=sys.stderr)
self._print_action(f"Execution failed: {e}!")
self._print_action_done()


def build(self, remove_existing: bool = True, requirements=None, winpy_dirname: str = None):
"""Make WinPython distribution in target directory from the installers
located in wheels_dir
Expand Down Expand Up @@ -1048,7 +1025,6 @@ def build(self, remove_existing: bool = True, requirements=None, winpy_dirname:
self._print_action(f"piping {' '.join(actions)}")
self.distribution.do_pip_action(actions)

self._run_complementary_batch_scripts()
self.distribution.patch_standard_packages()

self._print_action("Cleaning up distribution")
Expand Down
2 changes: 1 addition & 1 deletion winpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
OTHER DEALINGS IN THE SOFTWARE.
"""

__version__ = '13.1.20250215'
__version__ = '13.1.20250222'
__license__ = __doc__
__project_url__ = 'http://winpython.github.io/'