blob: ebe4d370eb3a73ac5e9c4b257d161fe5a59e9fbc (
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", "tdeio", "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
|