[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/222: doc: Document new options for pyproject-build-system.
From: |
guix-commits |
Subject: |
13/222: doc: Document new options for pyproject-build-system. |
Date: |
Fri, 1 Nov 2024 10:56:13 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit e1c233f8b5b8f08aeee9410a56fff4fbc3d0d308
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 187bae6898..cc3f9170b2 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9837,6 +9837,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
- 40/222: gnu: java-testng: Disable one test., (continued)
- 40/222: gnu: java-testng: Disable one test., guix-commits, 2024/11/01
- 48/222: gnu: python-joblib: Add missing inputs., guix-commits, 2024/11/01
- 09/222: guix: toml: Add TOML parser., guix-commits, 2024/11/01
- 05/222: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/11/01
- 15/222: gnu: Add missing import., guix-commits, 2024/11/01
- 18/222: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/01
- 14/222: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/11/01
- 28/222: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/11/01
- 45/222: gnu: python-mistletoe: Add missing inputs., guix-commits, 2024/11/01
- 07/222: gnu: criu: Remove temporary workaround., guix-commits, 2024/11/01
- 13/222: doc: Document new options for pyproject-build-system.,
guix-commits <=
- 19/222: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/11/01
- 43/222: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/11/01
- 46/222: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/11/01
- 52/222: gnu: python-pyproject-metadata: Disable two tests., guix-commits, 2024/11/01
- 12/222: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/11/01
- 17/222: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/11/01
- 16/222: gnu: Add missing import (again)., guix-commits, 2024/11/01
- 20/222: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/01
- 22/222: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/11/01
- 32/222: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/11/01