From 11394aecd1f906fee2ebd2b90412aeba4651fbff Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 3 Apr 2019 22:56:40 +0900 Subject: DEB: use _base folder for a distro instead of specific distros (squeeze and maverick). Signed-off-by: Michele Calgaro --- debian/_base/libraries/python-trinity/debian/pytdeconfig.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 debian/_base/libraries/python-trinity/debian/pytdeconfig.py (limited to 'debian/_base/libraries/python-trinity/debian/pytdeconfig.py') diff --git a/debian/_base/libraries/python-trinity/debian/pytdeconfig.py b/debian/_base/libraries/python-trinity/debian/pytdeconfig.py new file mode 100644 index 000000000..eac264752 --- /dev/null +++ b/debian/_base/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 * -- cgit v1.2.3