[PyQt] ANN: PyQt v5.11.2 and SIP v4.19.11 Released

Rex Dieter rdieter at math.unl.edu
Tue Jul 3 14:28:14 BST 2018

Phil Thompson wrote:

> On 2 Jul 2018, at 9:20 pm, Rex Dieter <rdieter at math.unl.edu> wrote:
>> Phil Thompson wrote:
>>> PyQt v5.11.2 has been released along with PyQt3D, PyQtChart,
>>> PyQtDataVisualisation and PyQtPurchasing. For details see...
>>> https://www.riverbankcomputing.com/news/pyqt-5112
>>> Note that the enum34 package from PyPI must be installed for versions of
>>> Python prior to v3.4.
>>> SIP v4.19.11 has also been released. For details see...
>> make install DESTDIR=...
>> is still failing, but differently than before (sip cannot be found):
>> $ make install DESTDIR=/tmp/foo
>> make[1]: Entering directory '/var/tmp/kdecache-
>> rdieter/BUILDROOT/sip-4.19.11/sipgen'
>> cp -f sip /tmp/foo/usr/bin/sip
>> ...
>> /usr/bin/python3 mk_distinfo.py /tmp/foo/usr/lib64/python3.6/site-
>> packages/sip-4.19.11.dist-info installed.txt
>> Traceback (most recent call last):
>>  File "mk_distinfo.py", line 101, in <module>
>>    fn_f = open(fn, 'rb')
>> FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/sip'
> Can you give me the configure.py command line you are using?

I can reproduce it with a minimal:

python2 ./configure.py
make install DESTDIR=/tmp/sip

> Am I right in saying that the .dist-info directory should reflect where
> the package will eventually be installed (ie. without the /tmp/foo prefix)
> rather then where it has been installed?

Correct.  DESTDIR allows building/installing as a non-privileged user for 
packaging purposes (which later will be installed via privilege/root)

-- Rex

More information about the PyQt mailing list