blob: 14c2104b61633770bd0c1a298138f446ed87b7d9 (
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 pytdeconfig
except:
print "Can't find pytdeconfig.py - please check installation"
raise
pytdecfg = pytdeconfig.Configuration ()
#modules = ["dcop", "tdecore", "tdesu", "tdefx", "tdeui", "kio", "tdefile", "tdeparts", "tdehtml", "kjs", "tdespell", "tdeprint"]
print "Modules built:"
print " ",pytdecfg.pytde_modules
print
print "Importing:"
print
for mod in pytdecfg.pytde_modules.split():
print mod
if mod != "tdesu":
exec ("import " + mod)
print
|