From c83ae1c13d254aaeff70c66ea8cfa513986df5eb Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 5 Oct 2021 19:39:45 +0200
Subject: [PATCH] [conda] use pip to install the package [skip ci]

---
 conda/meta.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index c075a2b..7df454e 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -12,9 +12,9 @@ build:
   script:
     - cd {{ project_dir }}
     {% if environ.get('BUILD_EGG') %}
-    - python setup.py sdist --formats=zip
+    - "{{ PYTHON }} setup.py sdist --formats=zip"
     {% endif %}
-    - python setup.py install --single-version-externally-managed --record record.txt
+    - "{{ PYTHON }} -m pip install . -vv"
 
 requirements:
   build:
@@ -26,6 +26,7 @@ requirements:
   host:
     - python {{ python }}
     - setuptools {{ setuptools }}
+    - pip {{ pip }}
     - bob.extension
     - bob.blitz
     - bob.core
-- 
GitLab