Debian Codegraph @

debian/patches/0087-use-platstdlib-instead-of-platlib.patch

raw symbols SCIP
1 Fromscip-debian debian hplip 3.26.4+dfsg0-2 hplip/patches/`0087-use-platstdlib-instead-of-platlib.patch`#From.: Thorsten Alteholz <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian hplip 3.26.4+dfsg0-2 hplip/patches/`0087-use-platstdlib-instead-of-platlib.patch`#Date.: Mon, 25 May 2026 01:40:29 +0200
3 Subjectscip-debian debian hplip 3.26.4+dfsg0-2 hplip/patches/`0087-use-platstdlib-instead-of-platlib.patch`#Subject.: use platstdlib instead of platlib
4
5 ---
6 base/utils.py | 2 +-
7 configure.in | 2 +-
8 2 files changed, 2 insertions(+), 2 deletions(-)
9
10 diff --git a/base/utils.pyscip-debian debian hplip 3.26.4+dfsg0-2 hplip/upstream/`base/utils.py`: b/base/utils.pyscip-debian debian hplip 3.26.4+dfsg0-2 hplip/upstream/`base/utils.py`:
11 index 253c7cb..16d0c85 100644
12 --- a/base/utils.py
13 +++ b/base/utils.py
14 @@ -2537,7 +2537,7 @@ def import_ext(ext_name):
15 return importlib.import_module(ext_name)
16 except ImportError:
17 import sysconfig
18 - sys.path.append(sysconfig.get_path('platlib'))
19 + sys.path.append(sysconfig.get_path('platstdlib'))
20 return importlib.import_module(ext_name)
21
22 def get_distro_name(passwordObj = None):
23 diff --git a/configure.inscip-debian debian hplip 3.26.4+dfsg0-2 hplip/upstream/`configure.in`: b/configure.inscip-debian debian hplip 3.26.4+dfsg0-2 hplip/upstream/`configure.in`:
24 index 7dcce95..9f96035 100644
25 --- a/configure.in
26 +++ b/configure.in
27 @@ -673,7 +673,7 @@ if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$lite
28 PYTHONEXECDIR=`$PYTHON -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1));" 2>/dev/null || echo "not found"`
29 if test "$PYTHONEXECDIR" = "not found"; then
30 AC_MSG_WARN([Failed to determine the Python executable directory. Retry using sysconfig module.])
31 - PYTHONEXECDIR=`$PYTHON -c "import sysconfig; print(sysconfig.get_path('platlib'))" 2>/dev/null || echo "not found"`
32 + PYTHONEXECDIR=`$PYTHON -c "import sysconfig; print(sysconfig.get_path('platstdlib'))" 2>/dev/null || echo "not found"`
33 if test "$PYTHONEXECDIR" = "not found"; then
34 AC_MSG_ERROR([Failed to determine the Python executable directory. Please check your Python installation.], 6)
35 fi