Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14393

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

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: is sysconfig.get_path('purelib') local ?
Date Sun, 28 Aug 2022 11:10:01 +0200
Message-ID <EZmsN-3CHb-1@gated-at.bofh.it> (permalink)
References <EZ8SS-3tGh-13@gated-at.bofh.it> <EZarD-3uGf-3@gated-at.bofh.it> <EZbQJ-3vtd-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Aug 28 09:01:40 2022
Old-Return-Path <stefano@rivera.za.net>
X-Amavis-Spam-Status No, score=-106.871 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Mail-Followup-To debian-python@lists.debian.org
X-Gpg-Public-Key http://www.rivera.za.net/stefano.gpg
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding quoted-printable
User-Agent NeoMutt/20201127
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20231
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20220828090119.wmpdimzmogdthuzv@satie.tumbleweed.org.za
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 28 Aug 2022 09:01:19 +0000
X-Original-Message-ID <20220828090119.wmpdimzmogdthuzv@satie.tumbleweed.org.za>
X-Original-References <3af6f60c-1eb9-c8be-4afb-94cf88d26919@rezozer.net> <20220827201333.2nfap7lrdicp7vob@satie.tumbleweed.org.za> <c1634db2-97f5-d5d9-e6c4-4fa1f233bb87@rezozer.net>
Xref csiph.com linux.debian.maint.python:14393

Show key headers only | View raw


Hi Jerome (2022.08.27_21:24:48_+0000)
> You want to propagate the change to /usr/share/aclocal/ax_python_devel.m4
> distributed in autoconf-archive .
> (I localized the error there.)

Can you point at a package that FTBFS because of this? Or something
easily reproducible. It's really useful to have test cases, when
changing code you've never seen before.

> 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.

I quote from that email:

> The solution in build tools is to explicitly select the posix_prefix
> scheme, and specify the appropriate prefix (/usr or /usr/local). For
> build tools that default to /usr/local, this should be all you need to
> do.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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