diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-14 11:18:27 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2017-12-14 11:18:27 +0100 |
commit | 52e913b31e40e220455b6cadab697103f0b85597 (patch) | |
tree | 8669d0f2c0ec1300dc70751ead093df27b6bc3cf | |
parent | 79a16b11342a92b0b2181363bde0f725f3c81c12 (diff) | |
download | bank-52e913b31e40e220455b6cadab697103f0b85597.tar.gz bank-52e913b31e40e220455b6cadab697103f0b85597.tar.bz2 bank-52e913b31e40e220455b6cadab697103f0b85597.zip |
fix install-dev
-rw-r--r-- | install-dev.py.in | 4 |
1 files changed, 1 insertions, 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) - - |