Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14392
| From | Jerome BENOIT <calculus@rezozer.net> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: is sysconfig.get_path('purelib') local ? |
| Date | 2022-08-27 23:50 +0200 |
| Message-ID | <EZbQJ-3vtd-1@gated-at.bofh.it> (permalink) |
| References | <EZ8SS-3tGh-13@gated-at.bofh.it> <EZarD-3uGf-3@gated-at.bofh.it> |
| Organization | ReZoZeR |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
is sysconfig.get_path('purelib') local ? Jerome BENOIT <calculus@rezozer.net> - 2022-08-27 20:40 +0200
Re: is sysconfig.get_path('purelib') local ? Stefano Rivera <stefanor@debian.org> - 2022-08-27 22:20 +0200
Re: is sysconfig.get_path('purelib') local ? Jerome BENOIT <calculus@rezozer.net> - 2022-08-27 23:50 +0200
Re: is sysconfig.get_path('purelib') local ? Stefano Rivera <stefanor@debian.org> - 2022-08-28 11:10 +0200
Re: is sysconfig.get_path('purelib') local ? Jerome BENOIT <calculus@rezozer.net> - 2022-08-28 15:00 +0200
Re: is sysconfig.get_path('purelib') local ? Jerome BENOIT <calculus@rezozer.net> - 2022-08-28 15:00 +0200
Re: is sysconfig.get_path('purelib') local ? Stefano Rivera <stefanor@debian.org> - 2022-08-28 19:30 +0200
csiph-web