apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.

commit 82d830a52a4be3e03e94b0e324f73f1aa139eac9
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sun Jan 24 09:41:43 2021 -0500

    gnu: python-gevent: Do not set PYTHONPATH.
    
    * gnu/packages/python-xyz.scm (python-gevent)
    [phases]{check}: Do not set PYTHONPATH.
---
 gnu/packages/python-xyz.scm | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7158cf5..36fe2ba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12479,13 +12479,6 @@ graphviz.")
                         #t)))
                   (replace 'check
                     (lambda _
-                      ;; Make sure the build directory is on PYTHONPATH.
-                      (setenv "PYTHONPATH"
-                              (string-append
-                               (getenv "PYTHONPATH") ":"
-                               (getcwd) "/build/"
-                               (car (scandir "build" (cut string-prefix? 
"lib." <>)))))
-
                       ;; Use the build daemons configured number of workers.
                       (setenv "NWORKERS" (number->string (parallel-job-count)))
 

Reply via email to