From c703d8f3d2d261c61c3190836c8ffe8755bb6d5a Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 5 Oct 2021 19:40:04 +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 5fe8aeb..92ec78a 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -14,14 +14,15 @@ 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:
   host:
     - python {{ python }}
     - setuptools {{ setuptools }}
+    - pip {{ pip }}
     - bob.extension
     - bob.db.base
     - bob.db.atnt
-- 
GitLab