blob: 9f4577197dadfc643504d2c15b8a7e72f16ccba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
print "\nTesting PyKDE module imports\n"
try:
import pykdeconfig
except:
print "Can't find pykdeconfig.py - please check installation"
raise
pykdecfg = pykdeconfig.Configuration ()
#modules = ["dcop", "kdecore", "kdesu", "kdefx", "kdeui", "kio", "kfile", "kparts", "khtml", "kjs", "kspell", "kdeprint"]
print "Modules built:"
print " ",pykdecfg.pykde_modules
print
print "Importing:"
print
for mod in pykdecfg.pykde_modules.split():
print mod
if mod != "kdesu":
exec ("import " + mod)
print
|