[PyQt] Portable Application
V. Armando Sole
sole at esrf.fr
Sat Nov 15 17:04:43 GMT 2014
I also use cx_freeze. The resulting structure is easy to tune by hand if
necessary (adding files/modules in library.zip for instance). On my
PyMca project I have a cx_setup.py that does all the job. It is probably
overkill and includes more than needed but it works for me.
The only thing I was not able to achieve was to produce a linux 64-bit
"frozen" executable able to run on different linux 64-bit machines.
Frozen 32-bit versions were mostly successful (probably due to
compatibility libraries).
Armando
On 15.11.2014 17:35, michael h wrote:
> On Sat, Nov 15, 2014 at 6:07 AM, Giacomo Licari
> <giacomo.licari at gmail.com> wrote:
>
>> Hi everybody,
>> I'm a new user, I have a little question, maybe someone more
>> experienced than me could reply.
>> I developed a little application for an University Course, using
>> PyQt4 and Python 3, my question is:
>> is possible to make the application portable?
>>
>> The professor should execute the application from his PC, without
>> installing the libraries, maybe putting all the content on a CD-ROM.
>>
>> Thanks in advance for your help.
>>
>> I'll make the application source corde available on github.
>>
>> Regards,
>> Giacomo
>> _______________________________________________
>> PyQt mailing list PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt [1]
>
> Adding to what Andreas and Ilya both said:
>
> I've had best success with cxfreeze on python 3 (with a somewhat
> complex PyQt5/python3.4 application, which uses various other C
> extensions as well).
>
> There's a py3 branch of pyinstaller that almost worked (had a problem
> with pywin32). Pyinstaller worked out of the box for the py2 version
> of the above mentioned app.
>
> I'll second what Ilya said about testing on a different machine to
> make sure all the DLLs/etc were included as well.
>
> - MH
>
> Links:
> ------
> [1] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list