From d61e5d303059059b0ffded273c4a923cf3178c3e Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 5 Oct 2021 19:39:27 +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 3c0a9be..abdb691 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -16,14 +16,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 }}
     - numpy {{ numpy }}
     - scipy {{ scipy }}
     - pillow {{ pillow }}
-- 
GitLab