1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 01:25:57 +02:00

build-system/pyproject: Improve style.

* guix/build/pyproject-build-system.scm (ensure-no-cythonized-files):
Remove extra spaces in Python snippet.

Change-Id: I1453e8707093e640e588d7221a8e71abf846c89f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-10-30 17:13:24 +01:00
committed by Andreas Enge
parent 6e6f1ee7ad
commit f670684dfc
+3 -3
View File
@@ -195,10 +195,10 @@ by Cython."
;; Call the PEP 517 build function, which drops a .whl into wheel-dir.
(invoke "python" "-c"
"import sys, importlib, json
backend_path = json.loads (sys.argv[1]) or []
backend_path.extend (sys.path)
backend_path = json.loads(sys.argv[1]) or []
backend_path.extend(sys.path)
sys.path = backend_path
config_settings = json.loads (sys.argv[4])
config_settings = json.loads(sys.argv[4])
builder = importlib.import_module(sys.argv[2])
builder.build_wheel(sys.argv[3], config_settings=config_settings)"
use-backend-path