[PyQt] deploying PyQt5 app for the first time using pyqtdeploy
Phil Thompson
phil at riverbankcomputing.com
Tue Oct 25 18:22:37 BST 2016
On 25 Oct 2016, at 11:26 am, umbertofilippo at tiscali.it wrote:
>
> Hello everybody.
>
> I am new to this mailing list and to app deployment.
> I just finished my first app with PyQt5: it's a basic Memory game, made of one python script, a folder of images and a folder of sound effects. The app is working fine (although something might still be missing), and I now would like to deploy it using pyqtdeploy.
> I am currently working on Ubuntu 16.04, in an python virtual environment (created through conda), where I installed PyQt5 and pyqtdeploy.
> I'd like to be able to set up a deployment framework so that I would be able to deploy to different platforms (desktop and mobile) the easiest way. I am beginning with Windows (as most of my friends have it).
> However, as I am completlely new to this kind of stuff, I am finding difficult to follow the tutorial at http://pyqt.sourceforge.net/Docs/pyqtdeploy/tutorial.html.
> First of all, I downloaded and installed pyqtdeploy to my virtual env succesfully (using pip after activating the conda env) and I am able to run the GUI.
> There are many things I miss anyway. For example: how do I add my folders to my project (images and sounds)?
They are part of the Application Source.
> And, should I be able to produce an executable which I can simply pass to my friends who can try it by simpling double clicking it, or is there much work I will be supposed to do after using pyqtdeploy?
They will get embedded in the application executable. You can access them as files so long as you use the PyQt file handling classes (rather than the Python ones). See http://pyqt.sourceforge.net/Docs/pyqtdeploy/pyrcc.html
Phil
More information about the PyQt
mailing list