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 ?

From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: is sysconfig.get_path('purelib') local ?
Date 2022-08-28 11:10 +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>
Organization linux.* mail to news gateway

Show all headers | 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