diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-24 00:30:24 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-01 11:53:53 -0500 |
commit | 7f081f43ed027fcf00a5fe7ab516586c80ed1cec (patch) | |
tree | 5cae95dc4a2f2f5df057a9a483e9438bcc5bc08c /gnu | |
parent | 141a90ea2cf948a4eb25eab6d30b61b16045eaae (diff) |
gnu: python-colorlog: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-colorlog)
[phases]{check}: Do not set PYTHONPATH.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 71809ddc98..a0b0034966 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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 |