Skip to content

Commit

Permalink
Fix pyinstaller import (#17244)
Browse files Browse the repository at this point in the history
fix pyinstaller
  • Loading branch information
czoido authored Oct 29, 2024
1 parent a1aa50c commit 8bb9d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import sys

from conans import __version__
from conans.util.files import save


def _run_bin(pyinstaller_path):
Expand Down Expand Up @@ -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]

Expand Down

0 comments on commit 8bb9d4e

Please sign in to comment.