|
|
|
@ -621,7 +621,7 @@ class BuildKControlModule(Command):
|
|
|
|
|
# PyKDE dir
|
|
|
|
|
if self.pykde_dir is None:
|
|
|
|
|
self.pykde_dir = sysconfig.get_python_lib()
|
|
|
|
|
if (FindFileInPaths("libkdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None):
|
|
|
|
|
if (FindFileInPaths("libtdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None):
|
|
|
|
|
raise SystemExit, "Failed to find the PyKDE directory: %s" % self.pykde_dir
|
|
|
|
|
self.announce("Using %s for PyKDE modules" % self.pykde_dir)
|
|
|
|
|
|
|
|
|
@ -1549,7 +1549,7 @@ class BuildKioslave(Command):
|
|
|
|
|
# PyKDE dir
|
|
|
|
|
if self.pykde_dir is None:
|
|
|
|
|
self.pykde_dir = sysconfig.get_python_lib()
|
|
|
|
|
if (FindFileInPaths("libkdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None):
|
|
|
|
|
if (FindFileInPaths("libtdecorecmodule*",[self.pykde_dir]) is None) and (FindFileInPaths("kdecore*",[self.pykde_dir]) is None):
|
|
|
|
|
raise SystemExit, "Failed to find the PyKDE directory: %s" % self.pykde_dir
|
|
|
|
|
self.announce("Using %s for PyKDE modules" % self.pykde_dir)
|
|
|
|
|
|
|
|
|
|