guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

141/163: gnu: python-gevent: Do not set PYTHONPATH.


From: guix-commits
Subject: 141/163: gnu: python-gevent: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:57 -0500 (EST)

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

commit 76c4b7082af78c04b58c07d60d400776bdd3e229
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
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 9c34712..48f1924 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12470,13 +12470,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

[Prev in Thread] Current Thread [Next in Thread]