gnu: python-statsmodels: Fix build
* gnu/packages/statistics.scm (python-statsmodels): [check] set PYTHONPATH prior to running tests.
This commit is contained in:
parent
d5e41cf28c
commit
25b2c47d75
|
@ -1444,11 +1444,13 @@ building design matrices.")
|
||||||
line)))
|
line)))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda _
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(with-directory-excursion "/tmp"
|
;; Make installed package available for running the tests
|
||||||
(zero? (system* "nosetests"
|
(add-installed-pythonpath inputs outputs)
|
||||||
"--stop"
|
(with-directory-excursion "/tmp"
|
||||||
"-v" "statsmodels"))))))))
|
(zero? (system* "nosetests"
|
||||||
|
"--stop"
|
||||||
|
"-v" "statsmodels"))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-numpy" ,python-numpy)
|
`(("python-numpy" ,python-numpy)
|
||||||
("python-scipy" ,python-scipy)
|
("python-scipy" ,python-scipy)
|
||||||
|
|
Loading…
Reference in New Issue