From b56cb3c431b1ed955069a77e29c43be9183f9868 Mon Sep 17 00:00:00 2001
From: Blaise Li <blaise.li__git@nsup.org>
Date: Fri, 18 Oct 2019 17:56:32 +0200
Subject: [PATCH] PEP 518 build isolation fails.

Cython and pysam have to be installed beforehand.

https://github.com/pypa/setuptools/issues/1405#issuecomment-409663455
---
 install.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/install.sh b/install.sh
index 5531f69..27c0ad1 100755
--- a/install.sh
+++ b/install.sh
@@ -1,5 +1,6 @@
 #!/bin/sh
 /usr/bin/env python3 setup.py build_ext
 # .egg-link does not work with PYTHONPATH ?
-/usr/bin/env python3 -m pip install -e .
-/usr/bin/env python3 -m pip install  --no-deps --ignore-installed .
+# https://github.com/pypa/setuptools/issues/1405#issuecomment-409663455
+/usr/bin/env python3 -m pip install --no-build-isolation -e .
+/usr/bin/env python3 -m pip install --no-build-isolation --no-deps --ignore-installed .
-- 
GitLab