gnu: python-scanpy: Set PYTHONPATH variable.

This is a follow-up to commit 664721422c.

* gnu/packages/bioinformatics.scm (python-scanpy)[arguments]: Set PYTHONPATH
variable during the build as GUIX_PYTHONPATH does not have the intended
effect.
This commit is contained in:
Ricardo Wurmus 2021-11-21 09:04:16 +01:00
parent 6c9bbf8071
commit e74bcbc64f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -11956,7 +11956,7 @@ (define-public python-scanpy
;; packaged yet. ;; packaged yet.
(delete-file "scanpy/tests/external/test_scanorama_integrate.py") (delete-file "scanpy/tests/external/test_scanorama_integrate.py")
(setenv "GUIX_PYTHONPATH" (setenv "PYTHONPATH"
(string-append (getcwd) ":" (string-append (getcwd) ":"
(assoc-ref inputs "python-anndata:source") ":" (assoc-ref inputs "python-anndata:source") ":"
(getenv "GUIX_PYTHONPATH"))) (getenv "GUIX_PYTHONPATH")))