[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/30: doc: Document new options for pyproject-build-system.
From: |
guix-commits |
Subject: |
08/30: doc: Document new options for pyproject-build-system. |
Date: |
Sun, 30 Jun 2024 03:40:30 -0400 (EDT) |
lbraun pushed a commit to branch pyproject-build-system
in repository guix.
commit da7edf3ccb2153f14accc3a9dfffe871d0b16279
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 6770c9d664..f933b17e54 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9805,6 +9805,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
- branch pyproject-build-system created (now 509802b475), guix-commits, 2024/06/30
- 01/30: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/06/30
- 05/30: guix: toml: Add TOML parser., guix-commits, 2024/06/30
- 06/30: build-system/pyproject: Use TOML parser., guix-commits, 2024/06/30
- 02/30: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/06/30
- 08/30: doc: Document new options for pyproject-build-system.,
guix-commits <=
- 03/30: gnu: criu: Remove temporary workaround., guix-commits, 2024/06/30
- 04/30: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/06/30
- 07/30: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/06/30
- 13/30: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/06/30
- 15/30: gnu: python-mistletoe: Add missing inputs., guix-commits, 2024/06/30
- 16/30: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/06/30
- 17/30: gnu: python-vine: Add missing inputs., guix-commits, 2024/06/30
- 22/30: gnu: python-partd: Add missing input., guix-commits, 2024/06/30
- 23/30: gnu: python-dbus-python: Add missing input., guix-commits, 2024/06/30
- 25/30: guix: toml: Fix parsing empty strings in arrays., guix-commits, 2024/06/30