[PyQt] Adding zlib module to pyqtdeploy?

Patrick Stinson patrickkidd at gmail.com
Thu Jul 27 12:27:05 BST 2017


Any tips on adding the python zlib module to a pyqtdeploy project? I get the following error after adding the [zipfile] module

  File ":/zipfile.py", line 987, in __init__
  File ":/zipfile.py", line 611, in _check_compression
RuntimeError: Compression requires the (missing) zlib module

I tried:

- uncommenting the zlib line in Modules/Setup & Modules/Setup.dist
- adding PyInit_zlib(void) to config_py3.c
- adding Modules/zlib/*c to pyqtdeploy/python/configurations/python.pro

Any other thoughts?

-Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170727/ebb3088e/attachment.bin>


More information about the PyQt mailing list