From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +Im2IUfC5WBGOwEAgWs5BA (envelope-from ) for ; Wed, 07 Jul 2021 17:03:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4NluHUfC5WCkBgAA1q6Kng (envelope-from ) for ; Wed, 07 Jul 2021 15:03:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 170DD17A79 for ; Wed, 7 Jul 2021 17:03:35 +0200 (CEST) Received: from localhost ([::1]:48816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m195K-0000HP-1Q for larch@yhetil.org; Wed, 07 Jul 2021 11:03:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m193A-0004xA-DG for guix-devel@gnu.org; Wed, 07 Jul 2021 11:01:22 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:55161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1937-0006Iy-Bd for guix-devel@gnu.org; Wed, 07 Jul 2021 11:01:20 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GKjKz3zmqz1s60D; Wed, 7 Jul 2021 17:01:11 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GKjKz1tHnz1qwYb; Wed, 7 Jul 2021 17:01:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id x_-d5RsbzEj9; Wed, 7 Jul 2021 17:01:09 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-62-244.dynamic.mnet-online.de [188.174.62.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 7 Jul 2021 17:01:09 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 62DD260106; Wed, 7 Jul 2021 17:01:17 +0200 (CEST) Subject: Re: Questions regarding Python packaging To: Lars-Dominik Braun References: <1609946775.8blxygrg9p.astroid@rafflesia.none> <1611303651.35tpgtn1z1.astroid@melmoth.none> <1622997703.qcpe1ehxem.astroid@melmoth.none> <520a5492-6467-bbfc-3252-f17a5cc5d16f@crazy-compilers.com> <681eb450-0185-a465-3ed1-8446e8ad0974@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <716d2bce-bc89-2442-a02a-3bcbcbe19219@crazy-compilers.com> Date: Wed, 7 Jul 2021 17:01:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------7146F635C4E75FB9B7D3E096" Content-Language: en-US Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, 46848@debbugs.gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625670215; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=dl+2F9roQnwLuY5mITN6EoBCjTYAuVNc22KHqrHUTCk=; b=UELLNI9udahQdni8jkF7WOdrZxNvxF2yBfNHS5Xpbi1O6OfPt2zHPJdHeEH5tB3rjm8M2/ S4S6aGp0GipXW9apPjX5leQMUcOmshwFjpT7Xj9itazsamBOZ1V+6xwF/2TBxk5r5Pz9ao d3DYo555Ym5A+XeOlfLWjkHBbmJ8I/QSMjxBhqS8MBszWTyLRyYXk2ul7cGj9MF/DLCyR5 mub+lzYP0AGWM9hxKB6eG5LqFVzbU3ZKpVI5jKScXO44o406w8wFbas31fbS6zANGWy3Ou tMd3CD8OhJ9Cn+bkGguYwn2MWOpXQ0VI67qa77GEcpohv6x9LQRx42peAfP61g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625670215; a=rsa-sha256; cv=none; b=lpX2mLoqNLmfQ0oKjLZNWcIpFYFfJAzSv3xDfUN0LVw9eMTcWbUszC63b3tW+CJ65WSkQj ldFTALAZ2WDhQSuj5SfS4rHOfoQnnuDZeua8UiDmiznWmGc8ZrQQQT+3hmRVXgE82czmty UpykoJzj2+k2LaBUSQm50bLJMW/rJHgwwHzcTwlHxwIfytFH2g6GHswj09R0jfQ3nV0neJ pBZgPQhJiR8AzVymUxAA9f6Rlpzc7gGmz9s1q7U44izbUy9wCyM4/B0SmOD6mmQXuY9Wmc qTdnNW2OH6smUkSUE4wEJMmUeJPtaHJ61qIoihhy5K7oYeQSoayfhMu5BPsjUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 170DD17A79 X-Spam-Score: -0.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: Rgp8Lq33HAl7 This is a multi-part message in MIME format. --------------7146F635C4E75FB9B7D3E096 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Am 29.06.21 um 09:20 schrieb Lars-Dominik Braun: >> AFAIK this might not be true if other build systems not using setuptools >> at all might show up. And isn't this the main reason for all your work? > No, try Sorry, I've been inprecise on this: There might still be quite some packages out there importing plain, old distutils (and not setuptools) in their setup.py. These are what I meant with "other build systems not using setuptools". For these setup.py to understand the options we (and pip) need for installation, "import distutils" has to be hacked to actually become "import setuptools" - which is what setuptools-shim does -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------7146F635C4E75FB9B7D3E096 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Am 29.06.21 um 09:20 schrieb Lars-Dominik Braun:
AFAIK this might not be true if other build systems not using setuptools 
at all might show up. And isn't this the main reason for all your work?
No, try

Sorry, I've been inprecise on this:

There might still be quite some packages out there importing plain, old distutils (and not setuptools) in their setup.py. These are what I meant with "other build systems not using setuptools". For these setup.py to understand the options we (and pip) need for installation, "import distutils" has to be hacked to actually become "import setuptools" - which is what setuptools-shim does

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------7146F635C4E75FB9B7D3E096--