gnu: python-tablib: Use GUIX_PYTHONPATH instead of PYTHONPATH.
* gnu/packages/python-xyz.scm (python-tablib)[arguments]: Use GUIX_PYTHONPATH instead of PYTHONPATH in 'check phase.master
parent
fc3e4ef0db
commit
675f324e12
|
@ -27518,9 +27518,9 @@ pythonic way.")
|
|||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "PYTHONPATH"
|
||||
(setenv "GUIX_PYTHONPATH"
|
||||
(string-append (getcwd) "/build/lib:"
|
||||
(getenv "PYTHONPATH")))
|
||||
(getenv "GUIX_PYTHONPATH")))
|
||||
(invoke "pytest")))))))
|
||||
(native-inputs
|
||||
`(("python-pandas" ,python-pandas) ;; required for test-suite
|
||||
|
|
Reference in New Issue