diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-24 00:32:19 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-01 11:53:53 -0500 |
commit | 10e768427f60f1c9eda643f7b61a134766960b34 (patch) | |
tree | 47b4d252b66ffdecffd065885a16d0c7e0ef087c /gnu | |
parent | 2cbad73e0698f64b48436c7f2d042c3f7dfa0c30 (diff) | |
download | guix-patches-10e768427f60f1c9eda643f7b61a134766960b34.tar guix-patches-10e768427f60f1c9eda643f7b61a134766960b34.tar.gz |
gnu: python-hdf4: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-hdf4)
[phases]{check}: Do not set PYTHONPATH.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e25866f4b7..8579060599 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -805,14 +805,6 @@ Expressions are constructed from parsed strings or directly in Python.") (modify-phases %standard-phases (replace 'check (lambda _ - ;; The 'runexamples' script sets PYTHONPATH to CWD, then goes - ;; on to import numpy. Somehow this works on their CI system. - ;; Let's just manage PYTHONPATH here instead. - (substitute* "runexamples.sh" - (("export PYTHONPATH=.*") "")) - (setenv "PYTHONPATH" - (string-append (getcwd) ":" - (getenv "PYTHONPATH"))) (invoke "./runexamples.sh") (invoke "nosetests" "-v")))))) (home-page "https://github.com/fhs/python-hdf4") |