From c0ce3e5fe85768147a36fd2a0469ed224ea9f9ec Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Thu, 1 Apr 2021 00:58:30 +0200 Subject: [PATCH] Fix call --- windows-installer/windows_installer/construct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows-installer/windows_installer/construct.py b/windows-installer/windows_installer/construct.py index 8fd077e05..0cec3811b 100644 --- a/windows-installer/windows_installer/construct.py +++ b/windows-installer/windows_installer/construct.py @@ -44,7 +44,7 @@ def main(): def _build_installer(installer_cfg_path): print('Build the installer') - subprocess.check_call(['pynsist', installer_cfg_path]) + subprocess.check_call([sys.executable, '-m', 'nsist', installer_cfg_path]) def _compile_wheels(repo_path, build_path, venv_python):