MestreLion / git-tools

Assorted git tools, including git-restore-mtime
GNU General Public License v3.0
292 stars 75 forks source link

can't find pyinstaller.exe when run build_windows_executable.bat #79

Open zxt5105515 opened 3 months ago

zxt5105515 commented 3 months ago

env: windows 11 python 3.12.3 pyinstaller 6.8.0

after install i can't find any file named pyinstaller.exe with everything, then found that i need change all pyinstaller.exe to python -m PyInstaller in build_windows_executable.bat

MestreLion commented 3 months ago

Yeah, this is mentioned in PyInstaller's docs, it has its own section about this, Troubleshooting missing PyInstaller command:

If you cannot use the pyinstaller command due to the scripts directory not being in PATH, you can instead invoke the PyInstaller module, by running python -m PyInstaller

I should do this change, either add this to the documentation, or better yet in build_windows_executable.bat itself