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

List:       pykde
Subject:    [PyQt] Specifying installation path of dbus.mainloop?
From:       Paul Melis <paul.melis () surfsara ! nl>
Date:       2015-05-22 9:44:57
Message-ID: 555EFA99.4070407 () surfsara ! nl
[Download RAW message or body]

(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?

Regards,
Paul




-- 

Paul Melis
| Visualization group leader & developer | SURFsara |
| Science Park 140 | 1098 XG Amsterdam |
| T 020 800 1312 | paul.melis@surfsara.nl | www.surfsara.nl |
_______________________________________________
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