[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/420: doc: Document new options for pyproject-build-system.
From: |
guix-commits |
Subject: |
13/420: doc: Document new options for pyproject-build-system. |
Date: |
Tue, 26 Nov 2024 16:28:20 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 68a02a4947bb44b22050c70e64a63b66818eed16
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 26488b41c8..cf1008a02f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9906,6 +9906,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
- 12/420: guix: pyproject-build-system: Default configure-flags to empty dictionary., (continued)
- 12/420: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/11/26
- 14/420: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/11/26
- 15/420: gnu: Add missing import., guix-commits, 2024/11/26
- 20/420: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/26
- 18/420: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/26
- 16/420: gnu: Add missing import (again)., guix-commits, 2024/11/26
- 19/420: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/11/26
- 17/420: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/11/26
- 25/420: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/11/26
- 30/420: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/26
- 13/420: doc: Document new options for pyproject-build-system.,
guix-commits <=
- 32/420: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/11/26
- 04/420: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/11/26
- 21/420: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/11/26
- 24/420: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/11/26
- 22/420: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/11/26
- 26/420: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/11/26
- 23/420: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/11/26
- 28/420: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/11/26
- 31/420: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/26
- 33/420: gnu: Add python-rapidfuzz., guix-commits, 2024/11/26