luca72 ha scritto: > hello i'm totallu new. > I have made a project using pyqt4. > The project have a main.py file can you explain haw i can make and > linux executable with pyinstaller > > Thanks Luca > > > > It's quite easy. I'll explain you how to do it in some easy steps.
1) Download the SVN version of PyInstaller 1b) Install UPX [it isn't compulsory] 2)Open a terminal and digit: cd pyinstaller (where pyinstaller is you pyinstaller folder) 3)digit: python Configure.py Now PyInstaller is ready for use. I'm not an expert of PyQt but you shouldn't have big problems using pyinstaller with them. To create a spec file just digit: python /PyInstallerPath/Makespec.py -X --onefile /path/Main.py the -X options will use upx (if installed) to make your executable smaller. Onefile will create one single file. If you don't want all the libraries inside the executable you can use the option --onedir (all in one directory) Then all you have to do is: python /PyInstallerPath/Build.py /PathToSpec/main.spec Usually the spec file is in /PyInstallerPath/main/main.spec (where main is the name of your *.py file) You can look at the manual if you want to learn something more. And... feel free to ask! Bye, Simone --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
