From 0ebabafea2badd67e0cc123d3fcf7a71021d5886 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 5 Oct 2021 19:40:00 +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 509ee7ac..284fd7cd 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -13,14 +13,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
     - numpy {{ numpy }}
     - scipy {{ scipy }}
-- 
GitLab