diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-01-28 11:05:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-01-31 13:07:33 +0100 |
commit | 639b8c3e80778124458d61ba546a16d1c7661b3d (patch) | |
tree | e374202929c748cfeff0feb304e7d9fcb74b2abe /ubuntu/_base/libraries/pytde/debian/rules | |
parent | 72f1328d206e603f47a6afc3085e483474189c48 (diff) | |
download | tde-packaging-639b8c3e80778124458d61ba546a16d1c7661b3d.tar.gz tde-packaging-639b8c3e80778124458d61ba546a16d1c7661b3d.zip |
DEB pytde: Fix support for multiple Python3 installed in parallel.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/libraries/pytde/debian/rules')
-rwxr-xr-x | ubuntu/_base/libraries/pytde/debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ubuntu/_base/libraries/pytde/debian/rules b/ubuntu/_base/libraries/pytde/debian/rules index bd0d34271..7f50df023 100755 --- a/ubuntu/_base/libraries/pytde/debian/rules +++ b/ubuntu/_base/libraries/pytde/debian/rules @@ -114,7 +114,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;\ |