[PyQt] Help with getting sip built on Windows
Neil Jansen
njansen1 at gmail.com
Sun Feb 10 01:53:16 GMT 2019
So since I got the build environment working, I kept going and managed to
get a pyqtdeploy sysroot built for the demo project. Then tried to build
the demo with pyqtdeploy-build. It's failing, with this message:
pyqtdeploy-build --target win-64 --sysroot sysroot-win-64 --build-dir
build-win-64 --verbose pyqt-demo.pdy
Cleaning C:\Tools\pyqtdeploy\demo\build-win-64
[...]
Freezing
C:\Tools\pyqtdeploy\demo\sysroot-win-64\lib\python3.5\_sysconfigdata.py...
Execution of 'pyqtdeploy-build' failed with error code 1
I can confirm it doesn't exist in the sysroot-win-64/lib/python3.5
directory). If I remove sysconfig from the list of dependencies in the PDY
editor GUI, and retry, it'll get much farther along in the install.
However the pyqt-demo.py calls it out as a dependency so I'd like to get it
fixed so that I can build the demo.
So, why did my sysroot not generate a _sysconfigdata.py? I can't find much
information on what it does, or which operating systems it's applicable to,
or how it's generated.
Here's some information on my setup:
OS: Windows 7 Enterprise
Architecture: 64-bit
Compiler: MSVC 2017 64-bit
Python version: 3.5.1
Sip version: 4.19.13
pyqtdeploy version: 2.3.1
Qt version: 5.12.1
PyQt version: 5.11.3
Openssl: 1.1.1a
zlib: 1.2.11
On Sat, Feb 9, 2019 at 12:41 PM Phil Thompson <phil at riverbankcomputing.com>
wrote:
> On 9 Feb 2019, at 5:17 pm, Neil Jansen <njansen1 at gmail.com> wrote:
> >
> > On Sat, Feb 9, 2019 at 11:05 AM Phil Thompson <
> phil at riverbankcomputing.com> wrote:
> >
> > > This is from my internal documentation...
> >
> > Thanks so much, that did the trick. It built without any snags.
> >
> > One last question, is there a config param that will tell sip to
> generate a wheel, rather than just installing it to site packages? I
> didn't see any mention of building a wheel on the installation page.
>
> No that is done with internal tools. sip5, which I will start working on
> very soon, will be a good Python citizen in that regard.
>
> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190209/6d90c712/attachment.html>
More information about the PyQt
mailing list