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 IGTXIRrzSGHNcgEAgWs5BA (envelope-from ) for ; Mon, 20 Sep 2021 22:46:18 +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 qBeCHRrzSGFzPAAA1q6Kng (envelope-from ) for ; Mon, 20 Sep 2021 20:46:18 +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 3E18AF967 for ; Mon, 20 Sep 2021 22:46:18 +0200 (CEST) Received: from localhost ([::1]:60920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSQB7-0001q9-9x for larch@yhetil.org; Mon, 20 Sep 2021 16:46:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSQAY-0001oi-Pr for guix-devel@gnu.org; Mon, 20 Sep 2021 16:45:43 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:55346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSQAV-00056f-07 for guix-devel@gnu.org; Mon, 20 Sep 2021 16:45:42 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HCxQl4JkPz1qwH2; Mon, 20 Sep 2021 22:45:35 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HCxQl43Rmz1qqkB; Mon, 20 Sep 2021 22:45:35 +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 GbB7ACquxxd6; Mon, 20 Sep 2021 22:45:34 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-93-104-51-169.dynamic.mnet-online.de [93.104.51.169]) (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; Mon, 20 Sep 2021 22:45:34 +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 C9F0060150; Mon, 20 Sep 2021 22:45:48 +0200 (CEST) Subject: Re: Python Site Package Syntax Runtime Error To: Antwane Mason References: <1621bc1d-a291-e2dd-c598-0367d7c47edd@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: Date: Mon, 20 Sep 2021 22:45:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------FA6EB12ADB36C3CAA2CDCCF2" Content-Language: en-US Received-SPF: none client-ip=212.18.0.9; 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 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=1632170778; 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=zw9AC39ZC1+4Ldh8C8cN1CX6zQ/d3nFS6+Gr/X8aRkQ=; b=sUaQdt35WJgT8KXXrfMKx+P6PDlgHddQZFgUq1nd7RgKCRsdG+hEAMrcE9Ny/oQrZmoy5n xcCqZMVG+RezxNV3y5zPGofhwfwpYmrXm5M3nnDcfkNQjeGEAf3CFDw3hngqNcuXVdlw7s OSOl5XO4Jygl5AbQqErRB5634rlMx0pLz9fw8VXB5Lo9UF8ua5z4qcnnGJqZggeRk90o3D FRImk6Jc8fFnngg0rKL8ol3HLIlhBJjPkaeJVWhZcSw2k6lsRlgquhqrwkLFB0/7jTZhOD rsynvoNuUHXnvtmWhlk+hWdWTPT1bOZWSlUjqu4+1k3W3R2M4uFTxrFStlnQFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632170778; a=rsa-sha256; cv=none; b=pra9eUG1IB6NIlPvnNm/dSnBKja6pzTI3bO0vHsvEpV4SDmHX89weaJWWe3/KSeBeEYYbE ksT4wQASxYR/pHvoy5lMMAjOr8uCe8xe9B50bfHV9NQ6sL6Jx34P63lCvK71nRNr6t02GL ATXuheNbYAiHefbdjmO41MXMW7V29GJxzGzj7/01W2/VjcTkXXSXO0sU4zkRJLcXIgmFdx kZfcVN6+yxV/oVGCJxEMEYjFMK3R7Np48ZwDY30yR7Bc1IAQW0F/0KOZ0R6atscJWnXYE6 1QTaQhFlHyaNqE2vKxx0JXGKZh/BN1LqRY4+GxL36HucolUdlVXrRla729Si2g== 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: -2.39 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: 3E18AF967 X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: UkfX2CtKlkxW This is a multi-part message in MIME format. --------------FA6EB12ADB36C3CAA2CDCCF2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Am 20.09.21 um 22:28 schrieb Antwane Mason: >         (snippet >          '(begin (substitute* "setup.py" >                    (("scripts=\\['onlykey_agent.py'\\]") >                     "py_modules=['onlykey_agent']")) >                  #t)))) > Typically these kind of changes go into a phase. Search other package declarations for "substitute" to see how this is done. source-snippets are primary for removing binaries and proprietary code. Regarding the other issue, I can't give any advice, since I don't know the code :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------FA6EB12ADB36C3CAA2CDCCF2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Am 20.09.21 um 22:28 schrieb Antwane Mason:
        (snippet
         '(begin (substitute* "setup.py"
                   (("scripts=\\['onlykey_agent.py'\\]")
                    "py_modules=['onlykey_agent']"))
                 #t))))

Typically these kind of changes go into a phase. Search other package declarations for "substitute" to see how this is done. source-snippets are primary for removing binaries and proprietary code.

Regarding the other issue, I can't give any advice, since I don't know the code :-)

-- 
Regards
Hartmut Goebel

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