mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 13:17:10 -05:00
build/python: Fix cythonize check phase.
* guix/build/python-build-system.scm (ensure-no-cythonized-files): Use format when printing the warning.
This commit is contained in:
parent
7016f8db7c
commit
72809abc9e
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ (define-module (guix build python-build-system)
|
|||
#:use-module (guix build utils)
|
||||
#:use-module (ice-9 match)
|
||||
#:use-module (ice-9 ftw)
|
||||
#:use-module (ice-9 format)
|
||||
#:use-module (srfi srfi-1)
|
||||
#:use-module (srfi srfi-26)
|
||||
#:export (%standard-phases
|
||||
|
@ -274,7 +275,7 @@ (define* (ensure-no-cythonized-files #:rest _)
|
|||
(let ((generated-file
|
||||
(string-append (string-drop-right file 3) "c")))
|
||||
(when (file-exists? generated-file)
|
||||
(warning (G_ "Possible Cythonized file found: ~a~%") generated-file))))
|
||||
(format #t "Possible Cythonized file found: ~a~%" generated-file))))
|
||||
(find-files "." "\\.pyx$"))
|
||||
#t)
|
||||
|
||||
|
|
Loading…
Reference in a new issue