[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is sysconfig.get_path('purelib') local ?



Hi  Stefano, thanks for the reply.

On 27/08/2022 22:13, Stefano Rivera wrote:
Hi Jerome (2022.08.27_18:01:45_+0000)
in the current Sid (Python 3.10.6),

$ python3 -c "import sysconfig; print (sysconfig.get_path('purelib'));"

gives

/usr/local/lib/python3.10/dist-packages

I suspect that it formaly gave (< Python 3.10.6)

/usr/lib/python3.10/dist-packages

Correct, see:
https://lists.debian.org/debian-python/2022/03/msg00039.html

You want to propagate the change to /usr/share/aclocal/ax_python_devel.m4
distributed in autoconf-archive .
(I localized the error there.)

Otherwise, is there any keyword to get /usr/lib/python<PV>/dist-packages
via sysconfig.get_path ? May we pass 'distlib' ?
I guess it would be useful.

Cheers,
Jerome



SR


--
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: