diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-16 09:06:37 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-16 09:06:37 +0000 |
commit | 39d98386f72c65826e162e3e8fd36752ec469252 (patch) | |
tree | 5cec746207c4c892d064beafca1de94568a3aeb9 /importTest.py | |
download | pytde-39d98386f72c65826e162e3e8fd36752ec469252.tar.gz pytde-39d98386f72c65826e162e3e8fd36752ec469252.zip |
Move python-kde3 to the more correct python-trinity
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/python-trinity@1247483 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'importTest.py')
-rw-r--r-- | importTest.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/importTest.py b/importTest.py new file mode 100644 index 0000000..9f45771 --- /dev/null +++ b/importTest.py @@ -0,0 +1,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 |