From b61d1e9e08677365635fcd1a9417f897cc8d3b85 Mon Sep 17 00:00:00 2001
From: Martin Reinecke <martin@mpa-garching.mpg.de>
Date: Sat, 20 Jan 2018 13:16:01 +0100
Subject: [PATCH] tweak installation

---
 .gitlab-ci.yml | 1 +
 setup.py       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8d4738fa0..434c4cf19 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,7 @@ before_script:
 test_min:
   stage: test
   script:
+    - pip install --user .
     - nosetests -x --with-coverage --cover-package=nifty4 --cover-branches
     - OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests -x --with-coverage --cover-package=nifty4 --cover-branches
     - OMP_NUM_THREADS=1 mpiexec --allow-run-as-root -n 4 nosetests3 -x
diff --git a/setup.py b/setup.py
index 23f84f82c..269ec0d41 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ setup(name="nifty4",
       description="Numerical Information Field Theory",
       url="http://www.mpa-garching.mpg.de/ift/nifty/",
       packages=find_packages(include=["nifty4", "nifty4.*"]),
-      zip_safe=False,
+      zip_safe=True,
       license="GPLv3",
       setup_requires=['future', 'numpy'],
       install_requires=['future', 'numpy', 'pyfftw>=0.10.4'],
-- 
GitLab