PyCharm 2020.2.3
File -> Settings -> Tools -> External Tools
Name: (give a name)
Program: pyinstaller
Arguments: $FileName$ --paths venv\Lib\site-packages --onefile Working dir: $FileDir$
To compile: Right click on the opened script and choose External Tools -> (compile ....given name)
Note: --paths venv\Lib\site-packages is for include libraries in the exe
(-;
Nessun commento:
Posta un commento