<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>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 <b>C:/PythonXX/DLLs/_socket.pyd</b>
next to the .exe file you're distributing.</p>
<p>Maybe this helps.</p>
<p>Cheers!<br>
Marius<br>
</p>
<div class="moz-cite-prefix">Am 11.09.2016 um 19:02 schrieb wengo:<br>
</div>
<blockquote cite="mid:1473613342663-5199433.post@n6.nabble.com"
type="cite">
<pre wrap="">hi Phil,
i follow <a class="moz-txt-link-freetext" href="http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html">http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html</a>
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: <a class="moz-txt-link-freetext" href="http://python.6.x6.nabble.com/about-pyqtdelpoy-and-other-packages-tp5199381p5199433.html">http://python.6.x6.nabble.com/about-pyqtdelpoy-and-other-packages-tp5199381p5199433.html</a>
Sent from the PyQt mailing list archive at Nabble.com.
_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
<br>
</body>
</html>