From c94d4eab34a5b994475a37d16e7bcfb0f3034373 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 11 Oct 2016 15:20:37 +1100 Subject: [PATCH] 4485. [bug] Look in $prefix/lib/pythonX.Y/site-packages for the python modules we install. [RT #43330] (cherry picked from commit 01862dfaa5a9355d9952e75e452ad721a88dd368) --- CHANGES | 3 +++ bin/python/dnssec-checkds.py.in | 3 ++- bin/python/dnssec-coverage.py.in | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 47aa62f408..4db951c186 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4485. [bug] Look in $prefix/lib/pythonX.Y/site-packages for + the python modules we install. [RT #43330] + 4484. [bug] Failure to find readline when requested should be fatal to configure. [RT #43328] diff --git a/bin/python/dnssec-checkds.py.in b/bin/python/dnssec-checkds.py.in index ef75646bc5..bfc3c4cb0c 100644 --- a/bin/python/dnssec-checkds.py.in +++ b/bin/python/dnssec-checkds.py.in @@ -20,7 +20,8 @@ import sys sys.path.insert(0, os.path.dirname(sys.argv[0])) if os.name != 'nt': - sys.path.insert(1, os.path.join('@prefix@', 'lib')) + sys.path.insert(1, os.path.join('@prefix@', 'lib', + 'python' + sys.version[:3], 'site-packages')) import isc.checkds diff --git a/bin/python/dnssec-coverage.py.in b/bin/python/dnssec-coverage.py.in index 5d897ba2d6..84b69e476d 100644 --- a/bin/python/dnssec-coverage.py.in +++ b/bin/python/dnssec-coverage.py.in @@ -20,7 +20,8 @@ import sys sys.path.insert(0, os.path.dirname(sys.argv[0])) if os.name != 'nt': - sys.path.insert(1, os.path.join('@prefix@', 'lib')) + sys.path.insert(1, os.path.join('@prefix@', 'lib', + 'python' + sys.version[:3], 'site-packages')) import isc.coverage