gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] 01/02: fix install-dev


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] 01/02: fix install-dev
Date: Thu, 14 Dec 2017 11:22:38 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

commit 52e913b31e40e220455b6cadab697103f0b85597
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Dec 14 11:18:27 2017 +0100

    fix install-dev
---
 install-dev.py.in | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/install-dev.py.in b/install-dev.py.in
index b4cfc6e..214b243 100644
--- a/install-dev.py.in
+++ b/install-dev.py.in
@@ -19,7 +19,7 @@ prefix_path = "%s/lib/python%d.%d/site-packages" % (
 
 current_paths = os.environ.get("PYTHONPATH", "").split(":")
 current_paths.append(prefix_path)
-current_paths.remove("")
+current_paths = [x for x in current_paths if x != ""]
 os.environ["PYTHONPATH"] = ":".join(current_paths)
 
 args = ["pip3", "install", '--install-option=--prefix=%s' % "@prefix@", "-e", 
"."]
@@ -27,5 +27,3 @@ if "@DEBIAN_PIP3_SYSTEM@":
     args.push("@DEBIAN_PIP3_SYSTEM@")
 
 os.execvp("pip3", args)
-
-

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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