diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-08 11:00:39 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-08 11:00:39 +0100 |
commit | 5f46ed3e2189a9e11865750d326e147d384d8f6f (patch) | |
tree | 52c83fda76d018267119c81c169db01d4c8565eb /ubuntu/_base/libraries/pytde/debian/pytdeconfig.py | |
parent | b2d2291fa263be947e14a6a97810dd42d8ae7281 (diff) | |
download | tde-packaging-5f46ed3e2189a9e11865750d326e147d384d8f6f.tar.gz tde-packaging-5f46ed3e2189a9e11865750d326e147d384d8f6f.zip |
Move python-trinity to pytde
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/libraries/pytde/debian/pytdeconfig.py')
-rw-r--r-- | ubuntu/_base/libraries/pytde/debian/pytdeconfig.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ubuntu/_base/libraries/pytde/debian/pytdeconfig.py b/ubuntu/_base/libraries/pytde/debian/pytdeconfig.py new file mode 100644 index 000000000..eac264752 --- /dev/null +++ b/ubuntu/_base/libraries/pytde/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 * |