Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Stefano Rivera Newsgroups: linux.debian.maint.python Subject: Re: is sysconfig.get_path('purelib') local ? Date: Sun, 28 Aug 2022 11:10:01 +0200 Message-ID: References: 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: 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: archive/latest/20231 List-ID: List-URL: 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> Xref: csiph.com linux.debian.maint.python:14393 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/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 --=20 Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272