me
/
guix
Archived
1
0
Fork 0

gnu: python-hdf4: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-hdf4)
[phases]{check}: Do not set PYTHONPATH.
master
Maxim Cournoyer 2021-01-24 00:32:19 -05:00
parent 2cbad73e06
commit 10e768427f
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 0 additions and 8 deletions

View File

@ -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")