You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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
|