me
/
guix
Archived
1
0
Fork 0

gnu: python-colorlog: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-colorlog)
[phases]{check}: Do not set PYTHONPATH.
master
Maxim Cournoyer 2021-01-24 00:30:24 -05:00
parent 141a90ea2c
commit 7f081f43ed
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 6 deletions

View File

@ -334,12 +334,7 @@ implementation for the Telegram Bot API.")
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
;; Extend PYTHONPATH so the built package will be found.
(setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
(invoke "pytest" "-p" "no:logging")
#t)))))
(invoke "pytest" "-p" "no:logging"))))))
(home-page "https://github.com/borntyping/python-colorlog")
(synopsis "Log formatting with colors for python")
(description "The @code{colorlog.ColoredFormatter} is a formatter for use