Answers for "pyinstaller with setup.py"

16

pyinstaller

pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
Posted by: Guest on June-17-2020
-1

pyinstaller windows

#Run pyinstaller and stop it to generate the spec file :

>	pyinstaller filename.py

#A file with .spec as extension should be generated
#Now add the following lines to the beginning of the spec file :

>  import sys
>  sys.setrecursionlimit(5000)

#Now run the spec file using :

>	pyinstaller filename.spec
Posted by: Guest on April-10-2021

Python Answers by Framework

Browse Popular Code Answers by Language