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

List:       pykde
Subject:    Re: [PyQt] =?utf-8?q?Specifying_installation_path_of_dbus=2Emainloop?=
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-05-22 17:16:23
Message-ID: c39c98043b02a44ffe14f2f3fcebec1e () riverbankcomputing ! com
[Download RAW message or body]

On 22/05/2015 10:44 am, Paul Melis wrote:
> (Apologies if this gets sent more than once, I had some trouble with my 
> mailer)
> 
> Hi,
> 
> I'm building PyQt5 5.4.1 from source with the goal of installing it in
> a standalone directory (the software module system we use puts e.g. Qt
> in /sara/sw/qt/5.4.1, sip in /sara/sw/sip/4.16.7, etc).
> 
> I use the following configuration options:
> 
> #!/bin/sh
> Q=/sara/sw/pyqt/5.4.1
> 
> python ./configure.py \
>     --verbose \
>     --confirm-license \
>     --sip-incdir $SARA_SIP_INCLUDE \
>     --bindir $Q/bin \
>     --destdir $Q/lib/python2.7/site-packages \
>     --sipdir $Q/share/sip/PyQt5
> 
> This works mostly fine and allows almost all installation paths to be
> specified, except for the location of the dbus.mainloop module, which
> configure.py places in the global python package directory:
> 
> ...
> The dbus support module will be installed in
> /usr/lib/python2.7/dist-packages/dbus/mainloop.
> ...
> 
> Which then fails during make install, as it isn't writable (nor should 
> it be).
> 
> I've tried to set pydbus_module_dir in a configure file, but that
> doesn't seem to do the trick.
> 
> I could leave out QtDbus from the modules to build (with a very long
> --enable line ;-) as there is no --disable :-/), but is the dbus
> module essential in PyQt? Or put differently, is there anything in
> PyQt itself that uses it, or is it only used from user code?

The dbus.mainloop module implements the "standard" Python DBus support. 
It is an alternative to QtDBus.

I'll add an option to disable the mainloop support.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

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