blob: d57571b00631ba48052e3356e408b537ca906759 (
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", "tdecore", "tdesu", "tdefx", "tdeui", "kio", "kfile", "kparts", "khtml", "kjs", "kspell", "tdeprint"]
print "Modules built:"
print " ",pykdecfg.pykde_modules
print
print "Importing:"
print
for mod in pykdecfg.pykde_modules.split():
print mod
if mod != "tdesu":
exec ("import " + mod)
print
|