[PyKDE] ANN: PyKDE Extensions 0.3.0 released
Joachim Werner
joe at suse.de
Fri Jun 24 12:59:36 BST 2005
Hi Simon,
this is my 64bit-issues update for version 0.3.0:
Out of the box, the installation does not succed, again because the pyuic
executable is not found.
In qtuicompiler.py, why does it say
pyuic_exe = find_executable('pyuic',pyqt_configuration.pyqt_bin_dir)
in line 32, but
pyuic_exe = find_executable('pyuic',pyqt_configuration.default_bin_dir)
in line 39?
Using "pyqt_bin_dir" instead of "default_bin_dir" works for me. OTOH I don't
really understand why the fallback in line 42 doesn't work. It does if I try
from a Python shell.
I can't get the kcontrolmodule to get installed:
"Failed to find KDE KCM files in: /usr/lib/kde3"
Providing a KDE install prefix didn't work for me. What's the syntax for that?
Quickly looking at the code in kdedistutils.py I'm a bit confused why all the
path resolution is implemented at least twice, once for InstallKDE and once
for BuildKControlModule, instead of sharing that code.
E.g., this implementation, starting with line 242, seems to work:
if self.install_kcm is None:
self.announce("Detecting kcm library directory...")
self.install_kcm = os.path.join(ask_kde_config('--install lib
--expandvars').strip(),'kde3')
self.announce(" ...kcm library directory is %s" %
self.install_kcm)
This one, starting with line 531, doesn't:
if self.kde_kcm_lib_dir is None:
self.kde_kcm_lib_dir = os.path.join(self.kde_lib_dir,"kde3")
if FindFileInPaths('*kcm*.so',[self.kde_kcm_lib_dir]) is None:
raise SystemExit, "Failed to find KDE KCM files in: %s" %
self.kde_kcm_lib_dir
Cheers
Joachim
--
Joachim Werner, SUSE RD-TPM
Project Manager SDKs and NLD
More information about the PyQt
mailing list