summaryrefslogtreecommitdiffstats
path: root/dilos/libraries/pytde/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2024-01-28 11:05:00 +0100
committerSlávek Banko <[email protected]>2024-01-31 13:16:36 +0100
commit0430957886fc800058c7a55f5aab01de36f39eaf (patch)
tree464c64b047d3872a9ee1f6979939913de6ffaa07 /dilos/libraries/pytde/debian/rules
parent598ef9e753142bb4ddcc279d4870996a4d130e90 (diff)
downloadtde-packaging-0430957886fc800058c7a55f5aab01de36f39eaf.tar.gz
tde-packaging-0430957886fc800058c7a55f5aab01de36f39eaf.zip
DEB pytde: Fix support for multiple Python3 installed in parallel.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 639b8c3e80778124458d61ba546a16d1c7661b3d)
Diffstat (limited to 'dilos/libraries/pytde/debian/rules')
-rwxr-xr-xdilos/libraries/pytde/debian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/dilos/libraries/pytde/debian/rules b/dilos/libraries/pytde/debian/rules
index 421b7fad9..40e46f0ad 100755
--- a/dilos/libraries/pytde/debian/rules
+++ b/dilos/libraries/pytde/debian/rules
@@ -117,7 +117,7 @@ install-indep:
dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$'
for version in ${PYTHONS};\
do\
- pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
+ pylib=$$(python$$version -c "import sysconfig; print(sysconfig.get_path('platstdlib'))");\
mkdir -p debian/pytde-dev/$$pylib;\
install -m 644 -o root -g root debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\
install -m 644 -o root -g root build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\