guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/09: doc: Document new options for pyproject-build-system.


From: guix-commits
Subject: 09/09: doc: Document new options for pyproject-build-system.
Date: Fri, 16 Feb 2024 07:27:29 -0500 (EST)

lbraun pushed a commit to branch python-team
in repository guix.

commit 6831dfc58bf14341176f7358941ed685f34fb4c3
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Feb 16 09:44:50 2024 +0100

    doc: Document new options for pyproject-build-system.
    
    * doc/guix.texi (Build Systems): Add documentation for
    changed #:configure-flags and new #:backend-path.
    
    Change-Id: Ic8be598ea52ae04230b1e61c329ee55ccbb5dd63
---
 doc/guix.texi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index b76df868f8..3e9bf9d7bf 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10018,6 +10018,18 @@ The API is slightly different from 
@var{python-build-system}:
 @item
 @code{#:use-setuptools?} and @code{#:test-target} is removed.
 @item
+@code{#:configure-flags} is changed. Instead of a list
+this option must be a JSON object, whose interpretation
+depends on the build backend. For instance the example from
+@url{https://peps.python.org/pep-0517/#config-settings,PEP 517}
+should be written as @code{'(@@ ("CC" "gcc") ("--global-option"
+("--some-global-option")) ("--build-option" ("--build-option1"
+"--build-option2")))}
+@item
+@code{#:backend-path} is added.  It defaults to @code{#false}, but when
+set to a list it will be appended to Python’s search path and overrides
+the definition in @file{pyproject.toml}.
+@item
 @code{#:build-backend} is added.  It defaults to @code{#false} and will try
 to guess the appropriate backend based on @file{pyproject.toml}.
 @item



reply via email to

[Prev in Thread] Current Thread [Next in Thread]