Hi Petter (2024.10.09_07:45:10_+0000)
> Unfortunately, the change in src/configure.ac, where
>
> python3 -c 'import distutils.sysconfig;
> print(distutils.sysconfig.get_python_lib())'
>
> was replaced with
>
> python3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))'
>
> changes the used path from /usr/lib/python3/dist-packages to
> /usr/local/lib/python3.11/dist-packages, which put the python library
> files in the wrong location.
That should actually be OK, dh_python3 will move those to the right
place.
> I am not sure what a good solution is for this, but just wanted to
> document the problem.
You could export DEB_PYTHON_INSTALL_LAYOUT=deb which would change the
behaviour of that.
Or patch it to say:
python3 -c 'import sysconfig; print(sysconfig.get_path("platlib",
"deb_system"))'
An upstream friendly patch would be to interrogate the build system's
prefix, and if it is going to be installed into "/usr", select the
"deb_system" scheme, if available, otherwise use the default scheme.
Stefano
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers