From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aHuaBHnkj2aKZAEA62LTzQ:P1 (envelope-from ) for ; Thu, 11 Jul 2024 13:56:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aHuaBHnkj2aKZAEA62LTzQ (envelope-from ) for ; Thu, 11 Jul 2024 15:56:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720706169; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8T/yULt5+RX7ag/PRh/RzaOA3/UWI+MjfvB9V29LbEI=; b=Ha6wqNh0MohyWTcIwkuBEJzEE1GBp9TCaYpPiQo+E3w+KLHvrQSs8PZNXwE7hkDocC39bH bNBj0nTnWl653soWoriYChUayln9I+ba5JyyssWc4Y7tZ6LnROAIdYSnWKSHVcZ7IbiLnc Cf0v1niZR8EYhOk70bFyqjMhl1RHXDD1GJDyXB0jhlax2PXlVHXw0a3gFZlaKD1Zd+F67u psQtwS9Kf/BDVFK30CsyygeaWzs+XeEuNWz0YZPwefmH8VNDL7xT6PEhWD9qwzdYomcLIA v3IkFUwFm2PuRCMOT5v7hzsRMsJqzEp3F6Hh/Z+wyxUl9IwLZAANabODd6KaWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720706169; a=rsa-sha256; cv=none; b=u4jDDBVLroSCIE1Ur7265Jk6ur+Vd3V8fqIxw3mZhBmbJg+8QeomiMF2ui1E3NkInuAC7F lQ03hbJjNgpcjZvyAxBSgiImrsdNotMeQMbl+j+I2evrt/41fcmSg1T10TQDhnLkqdMy6w 7B/JEt0ohlBg6TQF460shJw040SHzEZH7x/4reQl/D47/TX+wyNb2OUG3LDQHiPxOOX/GP Kbgij13V+xxGE/mMkJpssGEdt2RgxRM3f5Uw+q50BpoQkZCbc0Yuxjl7FRN3E3eo5hxq8N IIlt4wDkzpBVQuFntI6C2l6T1ih8DTyBTlM9nrdwi93l87daX73zEs8ZGkGNsQ== 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 92D6525A5F for ; Thu, 11 Jul 2024 15:56:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRuGk-0005i2-9M; Thu, 11 Jul 2024 09:55:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRuGh-0005YG-8P for help-guix@gnu.org; Thu, 11 Jul 2024 09:55:32 -0400 Received: from smtp-out-10.univ-rouen.fr ([193.52.155.253] helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRuGe-0003wF-HL for help-guix@gnu.org; Thu, 11 Jul 2024 09:55:30 -0400 Received: from samsois.univ-rouen.fr (sampolo.univ-rouen.fr [10.0.128.131]) by mailhoc.univ-rouen.fr (Postfix) with ESMTP id 1527C29B2 for ; Thu, 11 Jul 2024 15:55:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by samsois.univ-rouen.fr (Postfix) with ESMTP id 0831E618590 for ; Thu, 11 Jul 2024 15:55:20 +0200 (CEST) From: "Sebastien Rey-Coyrehourcq" To: help-guix@gnu.org User-Agent: SOGoMail 2.4.3 MIME-Version: 1.0 Date: Thu, 11 Jul 2024 15:55:20 +0200 Subject: Managing python entry-points to discover plugin package with the new pyproject-build-system =?utf-8?q?=3F?= Message-ID: <3e9fa5-668fe480-1e97-22cb8440@260136720> X-Forward: 10.196.65.97 X-Spamd-Bar: ++ X-Rspamd-Server: mailhoc X-Rspamd-Queue-Id: 1527C29B2 X-Spamd-Result: default: False [2.70 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[help-guix@gnu.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM(0.00)[0.975,0]; SUBJ_EXCESS_QP(1.20)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; SUBJECT_ENDS_QUESTION(1.00)[] Received-SPF: pass client-ip=193.52.155.253; envelope-from=sebastien.rey-coyrehourcq@univ-rouen.fr; helo=mailhoc.univ-rouen.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -3.70 X-Migadu-Queue-Id: 92D6525A5F X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.70 X-TUID: NKYpbHFA0Uxv Hi,=C2=A0For my lab i actually manage to package the latest version (ex= isting package on guix are old) of python mkdocs static site generator = with mkdocs-materials theme.=C2=A0Mkdocs use a yaml entry to call the t= heme (here mkdocs-material-theme) to use for the website generation. Bo= th project use a pyproject.toml for pip installation.=C2=A0An example o= f mkdocs.yml that use the material theme :=C2=A0```yamlsite=5Fname: my = site nametheme:=C2=A0 name: material```=C2=A0The name entry run/use pyt= hon entry-points (https://peps.python.org/pep-0621/#entry-points) to de= tect theme actually installed with pip in the same context. Entry-point= is a common way to install/link package as plugin.=C2=A0Even if my hom= emade package mkdocs-material is well installed and contain the entry-p= oint.txt into dist-info/entry=5Fpoints.txt that doesn't work.=C2=A0By l= ooking in the build system of python i found some information about tha= t :=C2=A0I package mkdocs-material using the new pyproject-build-system= https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/pyproject-b= uild-system.scm=C2=A0=C2=A0My problem is that management of entry-point= s seems not implemented, as line https://git.savannah.gnu.org/cgit/guix= .git/tree/guix/build/pyproject-build-system.scm#n61 say.=C2=A0Is there = a way to implement this outside of pyproject-build-system, only for thi= s project ?=C2=A0Best regards,SR=C2=A0=C2=A0=C2=A0