After recent python3.10 changes meson started to use /usr/share for
purelib, but automake's pythondir is broken now:

pythondir (platform-indepdendent) is wrong:

$ python2 -c "import sys; from distutils import sysconfig; 
sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='/usr'))"
/usr/share/python2.7/site-packages

$ python3 -c "import sys; from distutils import sysconfig; 
sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='/usr'))"
/usr/lib/python3.10/site-packages

pyexecdir is OK:

$ python2 -c "import sys; from distutils import sysconfig; 
sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='/usr'))"
/usr/lib64/python2.7/site-packages

$ python3 -c "import sys; from distutils import sysconfig; 
sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='/usr'))"
/usr/lib64/python3.10/site-packages


-- 
Jakub Bogusz    http://qboosh.pl/
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to