You can create a single file, among other options ( ). bat file with the following lines for example (pyinstaller.exe must be in in the Windows path): pyinstaller.exe -onefile M圜ode.py In my opinion, it is much better because: This last reason made me try PyInstaller. I was not able to make it work together with PyQt. I have had problems with dependencies that you have to solve by importing packages in the setup file It is necessary to create a setup.py file for it to work. ![]() It has shown some problems for creating single files in Windows 64 bits: Using bundle_files = 1 with py2exe is not working ![]() I have used py2exe and it works, but I had some problems. I would like to compile some useful information about creating standalone files on Windows using Python 2.7.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |