From 8bb9d4eead87abfe12ead41fc57c58f58d56b659 Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Tue, 29 Oct 2024 15:20:38 +0100 Subject: [PATCH] Fix pyinstaller import (#17244) fix pyinstaller --- pyinstaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinstaller.py b/pyinstaller.py index da754f7ea3c..4a0f2ccf8c2 100644 --- a/pyinstaller.py +++ b/pyinstaller.py @@ -22,7 +22,6 @@ import sys from conans import __version__ -from conans.util.files import save def _run_bin(pyinstaller_path): @@ -121,6 +120,7 @@ def pyinstall(source_folder, onefile=False): else: win_ver_file = os.path.join(pyinstaller_path, 'windows-version-file') content = _windows_version_file(__version__) + from conans.util.files import save save(win_ver_file, content) win_ver = ["--version-file", win_ver_file]