<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I have gone through them. The closest thing I found that applies might be:<div class=""><br class=""></div><div class=""><a href="https://www.riverbankcomputing.com/static/Docs/sip/introduction.html#support-for-old-versions-of-python" class="">https://www.riverbankcomputing.com/static/Docs/sip/introduction.html#support-for-old-versions-of-python</a></div><div class=""><br class=""></div><div class="">But I’m not sure. It may just be me, but I find it hard to follow and decided it didn’t have anything to do with my question.</div><div class=""><br class=""></div><div class="">Or am I off base? I am fairly familiar with sip 4, but having trouble understanding the roadmap to move to sip-5. Maybe I have to have a better understanding of wheels?</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 28, 2020, at 12:33 PM, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" class="">phil@riverbankcomputing.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 28/04/2020 19:03, Patrick Stinson wrote:<br class=""><blockquote type="cite" class="">Also, I just tried:<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>pip install .<br class="">For sip-5.2.0 with Python-3.7.7 and it didn’t install the sip module<br class="">in site-packages or site-packages/PyQt5.<br class="">Not sure what to do there….<br class=""></blockquote><br class="">Read the docs? Installing SIP v5 has nothing to do with installing the sip module.<br class=""><br class="">Phil<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Apr 28, 2020, at 5:51 AM, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:<br class="">I suppose this is more of a pip question at this point, but do you know how to get:<br class=""> pip install .<br class="">or<br class=""> pip install PyQt5_sip-12.7.2.tar.gz<br class="">to build with debugging symbols? At first glance I don’t see anything like that in the pip docs.<br class=""><blockquote type="cite" class="">On Apr 28, 2020, at 5:48 AM, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:<br class="">Oh wow, it looks like I am also out of touch with pip and its capabilities.<br class="">“pip install .” Worked for me using sip-5.2.0.tar.gz.<br class="">Sounds like your idea to detect setup.py is a good one, however.<br class=""><blockquote type="cite" class="">On Apr 28, 2020, at 5:09 AM, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" class="">phil@riverbankcomputing.com</a>> wrote:<br class="">Aah - I never build in that particular way, I always use pip to build the PyQt5.sip module.<br class="">To build from an unpacked source package...<br class=""> pip install .<br class="">To build from a local source package...<br class=""> pip install PyQt5_sip-12.7.2.tar.gz<br class="">To build from source from PyPI...<br class=""> pip install --no-binary :all: PyQt5-sip<br class="">I'll try and detect if 'python setup.py' is being used and either fix it or fail with an error message.<br class="">Phil<br class="">On 28/04/2020 13:39, Patrick Stinson wrote:<br class=""><blockquote type="cite" class="">Phil,<br class="">It seems to me that this is likely documented somewhere since it is a<br class="">latest-version source build with generic options?<br class="">-Patrick<br class=""><blockquote type="cite" class="">On Apr 27, 2020, at 11:26 PM, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:<br class="">Now I am asking the same question as the OP. I built Python-3.8.4, sip-5.2.0, and PyQt5-5.14.2 on macOS and got the same error.<br class="">I built sip with “python setup.py install”<br class="">turin:vendor patrick$ python -c "import PyQt5.QtGui"<br class="">Traceback (most recent call last):<br class="">File "<string>", line 1, in <module><br class="">ModuleNotFoundError: No module named 'PyQt5.sip'<br class="">-Patrick<br class=""><blockquote type="cite" class="">On Apr 27, 2020, at 1:33 PM, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" class="">phil@riverbankcomputing.com</a>> wrote:<br class=""><blockquote type="cite" class="">On 27/04/2020 22:19, Gabriele Bulfon wrote:<br class="">Great Phil, that's where I pulled sources for both of them.<br class="">I have built and packaged PyQt5-sip and PyQt5 from those sources,<br class="">after building and packaging sip5 and PyQt-builder.<br class="">Maybe there's something wrong in what I'm delivering to the system<br class="">with PyQt5-sip?<br class="">Here's a brief of the files delivered by my package, as in the package<br class="">definition file (pkg, solaris).<br class="">I derived this from the prototype area generated by the build/install<br class="">on the prototype install root.<br class="">I bet something is wrong with the sip.cpython-35m.so file...I still<br class="">don't understand how these cpython so files are looked up, but that is<br class="">what the build system created in the prototype area.<br class="">dir path=usr<br class="">dir path=usr/lib<br class="">dir path=usr/lib/python$(PYVER)<br class="">dir path=usr/lib/python$(PYVER)/vendor-packages<br class="">dir path=usr/lib/python$(PYVER)/vendor-packages/PyQt5<br class="">dir<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info<br class="">file usr/lib/python$(PYVER)/vendor-packages/PyQt5/sip.cpython-35m.so<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5/sip.cpython-35m.so<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/PKG-INFO<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/SOURCES.txt<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/dependency_links.txt<br class="">file<br class="">path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/top_level.txt<br class=""></blockquote>I would expect to see .dist-info rather than .egg-info. Maybe your setuptools is too old.<br class="">Phil<br class=""></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>