summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-04 16:29:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-04 16:29:39 -0600
commitde77ae6a46f8c680b280c3d2a65c40a8da4622cf (patch)
treed5128aa87a098a9cdbef119a9a772a9b88ed3382 /ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py
parent32e556c5c8f839339dd8a93d33e4f7a7ce20c1af (diff)
downloadtde-packaging-de77ae6a46f8c680b280c3d2a65c40a8da4622cf.tar.gz
tde-packaging-de77ae6a46f8c680b280c3d2a65c40a8da4622cf.zip
Rename pykde to pytde in Ubuntu and Debian
Diffstat (limited to 'ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py')
-rw-r--r--ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py b/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py
new file mode 100644
index 000000000..eac264752
--- /dev/null
+++ b/ubuntu/maverick/libraries/python-trinity/debian/pytdeconfig.py
@@ -0,0 +1,11 @@
+# import the sipconfig.py for the normal or the debug build
+
+import sys
+
+if getattr(sys, "pydebug", False):
+ try:
+ from pytdeconfig_d import *
+ except ImportError, msg:
+ raise ImportError, 'No module named pytdeconfig; package python-trinity-dbg not installed'
+else:
+ from pytdeconfig_nd import *