Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14392
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jerome BENOIT <calculus@rezozer.net> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: is sysconfig.get_path('purelib') local ? |
| Date | Sat, 27 Aug 2022 23:50:01 +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> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sat Aug 27 21:49:24 2022 |
| Old-Return-Path | <calculus@rezozer.net> |
| X-Amavis-Spam-Status | No, score=-12.711 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .rezozer. - helo: .outmail148106.authsmtp. - helo-domain: .authsmtp.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5 |
| MIME-Version | 1.0 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
| Reply-To | calculus@rezozer.net |
| Content-Language | en-US |
| Organization | ReZoZeR |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------8gM9BZJG52CKRX0s9B9r3gtP" |
| X-Server-Quench | 105e30e3-2652-11ed-a0f2-84349711df28 |
| X-Authreport-Spam | If SPAM / abuse - report it at: http://www.authsmtp.com/abuse |
| X-Authroute | OCdyYgsWA1ZeRQAR FycZFwdaRBciNBBW RxkOMR1WLVAIXAIU KldGLl1VGFkdXk1C HTJeCQ0FDkMuGzQ7 aQ1OHEAKfUhOXQd6 UkpDRltYFAcmAhsf BxgYTBh0chtHfXxv YE5lQXEVXkMYCRh8 RC1UFmQHYGUubGgX Uw5ZdwYBcwMffQJH bFV9SXIMNDEaN3o2 RUpjY2ttbGoGcShb GFEbF19ACUcQViUt XBsFGzsuEgsKSjkE NxU6Kh5TBFsLP0Ez OxRgEVYfOBYWQlo2 |
| X-Authentic-SMTP | 61633132333330.1021:8335 |
| X-Authfastpath | 0 (Was 255) |
| X-Authvirus-Status | No virus detected - but ensure you scan with your own anti-virus system. |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20230 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/c1634db2-97f5-d5d9-e6c4-4fa1f233bb87@rezozer.net |
| Approved | robomod@news.nic.it |
| Lines | 70 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 27 Aug 2022 23:24:48 +0200 |
| X-Original-Message-ID | <c1634db2-97f5-d5d9-e6c4-4fa1f233bb87@rezozer.net> |
| X-Original-References | <3af6f60c-1eb9-c8be-4afb-94cf88d26919@rezozer.net> <20220827201333.2nfap7lrdicp7vob@satie.tumbleweed.org.za> |
| Xref | csiph.com linux.debian.maint.python:14392 |
Show key headers only | View raw
[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