[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/57: doc: Document new options for pyproject-build-system.
From: |
guix-commits |
Subject: |
13/57: doc: Document new options for pyproject-build-system. |
Date: |
Mon, 6 May 2024 04:08:11 -0400 (EDT) |
rekado pushed a commit to branch python-team
in repository guix.
commit c955dd1e732c7abee0a8a598e57f11e564735383
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 1c1e0164e7..07055835ca 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9757,6 +9757,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 python-team created (now df580a54f4), guix-commits, 2024/05/06
- 02/57: gnu: python-imagesize: Update to 1.4.1., guix-commits, 2024/05/06
- 05/57: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/05/06
- 01/57: gnu: python-pygments: Update to 2.15.1., guix-commits, 2024/05/06
- 03/57: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/05/06
- 06/57: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/05/06
- 12/57: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/05/06
- 07/57: gnu: criu: Remove temporary workaround., guix-commits, 2024/05/06
- 13/57: doc: Document new options for pyproject-build-system.,
guix-commits <=
- 18/57: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/05/06
- 20/57: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/05/06
- 27/57: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/05/06
- 23/57: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/05/06
- 21/57: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/05/06
- 04/57: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/05/06
- 11/57: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/05/06
- 19/57: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/05/06
- 43/57: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/05/06
- 08/57: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/05/06