[PyQt] about pyqtdelpoy and other packages
Marius Shekow
marius.shekow at fit.fraunhofer.de
Mon Sep 12 07:22:22 BST 2016
Hi,
On Windows I've never built Python when distributing pyqtdeploy'ed
applications (I just used the one the installer from the Python.org). In
this case, you also need to place a copy of
*C:/PythonXX/DLLs/_socket.pyd* next to the .exe file you're distributing.
Maybe this helps.
Cheers!
Marius
Am 11.09.2016 um 19:02 schrieb wengo:
> hi Phil,
>
> i follow http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html
>
> pyqtdeploycli --sysroot E:/qt/sysroot --package python --system-python 2.7
> install
>
> and my pyqtdeploy gui setting is :
> Application Source Tab
> target python version 2.7.12
> target pyqt version pyqt4
>
> Standard Library Tab
> checked socket module
>
> Locations
> Interpreter:c:/Python27/python.exe
> Source Directory:e:\Qt\SYSROOT\src\Python-2.7.11
> Include Directory:e:\Qt\SYSROOT\include\python2.7
> Python Library:e:\Qt\SYSROOT\lib\python27.lib
> Standard library directory:e:\Qt\SYSROOT\lib\python2.7
> Build Directory:build
> qmake:E:/Qt/SYSROOT/src/qt-everywhere-opensource-src-4.8.6/bin/qmake.exe
>
> Build log
> Generating code...
> Cleaning E:\Qt\SYSROOT\project\build
> Creating directory E:\Qt\SYSROOT\project\build
> Creating directory E:\Qt\SYSROOT\project\build\resources
> Running 'c:\Python27\python.exe -OO
> C:/Users/dada/AppData/Local/Temp/pyqtdeploy-Gfv8g9/freeze.py
> C:\Users\dada\AppData\Local\Temp\pyqtdeploy-Gfv8g9\jobs.csv'
> Freezing C:\Users\dada\AppData\Local\Temp\pyqtdeploy-Gfv8g9\bootstrap.py...
> Freezing E:\Qt\SYSROOT\project\hello_world.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\__future__.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\_abcoll.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\_weakrefset.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\abc.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\atexit.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\collections.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\copy_reg.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\functools.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\genericpath.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\hashlib.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\heapq.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\keyword.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\linecache.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\ntpath.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\os.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\pickle.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\posixpath.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\random.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\re.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\socket.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\sre_compile.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\sre_constants.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\sre_parse.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\stat.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\string.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\struct.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\subprocess.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\threading.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\traceback.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\types.py...
> Freezing E:\Qt\SYSROOT\lib\python2.7\warnings.py...
> Code generation succeeded.
> Running qmake...
> E:\Qt\SYSROOT\project\build is now the current directory
> Running 'E:/Qt/SYSROOT/src/qt-everywhere-opensource-src-4.8.6/bin/qmake.exe'
> E:\Qt\SYSROOT\project is now the current directory
> qmake succeeded.
>
> because i need build pyqt4 application, so i need install python2.7 for
> pyqt4 and python 3.4 for pyqt5
>
>
>
> --
> View this message in context: http://python.6.x6.nabble.com/about-pyqtdelpoy-and-other-packages-tp5199381p5199433.html
> Sent from the PyQt mailing list archive at Nabble.com.
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160912/14240886/attachment.html>
More information about the PyQt
mailing list