summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-python-fix-for-dist-packages.patch
blob: 971bfa00ecfabf563dfde95aec99d868999a8a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
From: Jim Popovitch <jimpop@domainmail.org>
Date: Sat, 13 Jul 2019 17:00:35 +0000
Subject: python fix for dist-packages

---
 bin/python/dnssec-checkds.py.in  | 2 +-
 bin/python/dnssec-coverage.py.in | 2 +-
 bin/python/dnssec-keymgr.py.in   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/python/dnssec-checkds.py.in b/bin/python/dnssec-checkds.py.in
index 3ec15e2..e70d0c4 100644
--- a/bin/python/dnssec-checkds.py.in
+++ b/bin/python/dnssec-checkds.py.in
@@ -22,7 +22,7 @@ if os.name != "nt":
         sys.path.insert(
             1,
             os.path.join(
-                "@prefix@", "lib", "python" + sys.version[:3], "site-packages"
+                "@prefix@", "lib", "python" + sys.version[:3], "dist-packages"
             ),
         )
 
diff --git a/bin/python/dnssec-coverage.py.in b/bin/python/dnssec-coverage.py.in
index a82dfe3..7d4f6ba 100644
--- a/bin/python/dnssec-coverage.py.in
+++ b/bin/python/dnssec-coverage.py.in
@@ -22,7 +22,7 @@ if os.name != "nt":
         sys.path.insert(
             1,
             os.path.join(
-                "@prefix@", "lib", "python" + sys.version[:3], "site-packages"
+                "@prefix@", "lib", "python" + sys.version[:3], "dist-packages"
             ),
         )
 
diff --git a/bin/python/dnssec-keymgr.py.in b/bin/python/dnssec-keymgr.py.in
index f8ee013..3bfa02e 100644
--- a/bin/python/dnssec-keymgr.py.in
+++ b/bin/python/dnssec-keymgr.py.in
@@ -22,7 +22,7 @@ if os.name != "nt":
         sys.path.insert(
             1,
             os.path.join(
-                "@prefix@", "lib", "python" + sys.version[:3], "site-packages"
+                "@prefix@", "lib", "python" + sys.version[:3], "dist-packages"
             ),
         )