From 165e01cb855a778be4604b7af8690e1221a5002e Mon Sep 17 00:00:00 2001 From: Insoleet <insomniak.fr@gmail.com> Date: Wed, 18 Nov 2015 14:48:32 +0100 Subject: [PATCH] Fix build on travis --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a612a543..fdbd2606 100644 --- a/setup.py +++ b/setup.py @@ -64,10 +64,10 @@ else: libsodium_path = "" print(QtCore.QCoreApplication.libraryPaths()) schemas = os.path.join(site.getsitepackages()[0], "jsonschema", "schemas") + onlyfiles = [ f for f in listdir(schemas) if isfile(join(schemas,f)) ] for f in onlyfiles: zipincludes.append((os.path.join(schemas, f), os.path.join("jsonschema", "schemas", f))) - onlyfiles = [ f for f in listdir(schemas) if isfile(join(schemas,f)) ] # Check if we are in Conda env if 'CONDA_ENV_PATH' in os.environ: libsodium_path = os.path.join(os.environ['CONDA_ENV_PATH'], "lib", -- GitLab