[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Can't install PyQt via pip because it ask about the license
From:       Ben Greiner <code-pyqt () bnavigator ! de>
Date:       2022-10-07 11:51:23
Message-ID: 6aec17af-b551-3d2d-16d3-7a4b3ce1cd84 () bnavigator ! de
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (text/plain)]

Am 07.10.22 um 13:27 schrieb Phil Thompson:
> On 07/10/2022 08:08, c.buhtz@posteo.jp wrote:
>> Good Morning,
>>
>> I got some steps further but didn't succeeded yet with
>> installing and/or building PyQt5 on pcc64le architecture.
>>
>> On 2022-10-05 11:54 <c.buhtz@posteo.jp> wrote:
>>> Maybe the other way via "--global-config" is a better solution?
>>
>> Again I have to ask if it is maybe better to use "pip" to build/install
>> and not the the explicit "sip-install" step.
>
> Both pip and sip-install are front-ends to the same back-end. pip 
> supports downloading, sip-install is easier to use.
>
>> The question is how can I throughput the "--confirm-license" option via
>> "--global-config"? I don't know how.
>
> The option is actually --config-settings...
>
>     pip -v install --config-settings --qmake=/path/to/qmake 
> --config-settings --confirm-license= /path/to/PyQt5-5.15.7.tar.gz
>
> The -v is recommended but not required.
>> Please treat this as a feature request to improve the "how to build
>> PyQt5". Nowhere there is mentioned wich libqt5* packages I need to
>> install.
>
> That is distro-specific.

And appropriately documented in the distro build recipes. It is 
basically, "all the header package for qt6 libs you want to support".

Debian sid: https://packages.debian.org/source/sid/pyqt5
Ubuntu kinetic: https://packages.ubuntu.com/source/kinetic/pyqt5
Fedora: 
https://src.fedoraproject.org/rpms/python-qt5/blob/rawhide/f/python-qt5.spec 
"BuildRequires"
openSUSE: 
https://build.opensuse.org/package/view_file/KDE:Qt:PyQt/python-qt5/python-qt5.spec 
"BuildRequires"
https://github.com/archlinux/svntogit-packages/blob/packages/pyqt5/trunk/PKGBUILD 
"makedepends"

> Can we solve this?
>
> Either install sip in the venv or run sip-wheel instead of sip-install 
> and use pip to install the resulting wheel.

Or use sip-build instead of sip-install and use `make install 
DESTDIR=$yourdir INSTALL_ROOT=$yourvenv`


- Ben


["OpenPGP_signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic