From a7790822b1bc76b8500f94c15d87f3f4002fb4e5 Mon Sep 17 00:00:00 2001
From: Samuel GAIST <samuel.gaist@idiap.ch>
Date: Thu, 7 Oct 2021 09:02:37 +0200
Subject: [PATCH] [conda] Update install commands to follow bob's guidelines

Add pip to dependencies as well
---
 conda/meta.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 8cf8ffd..5712c89 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -17,9 +17,9 @@ build:
   script:
     - cd {{ environ.get('RECIPE_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"
     # installs the documentation source, readme to share/doc so it is available
     # during test time
     - install -d "${PREFIX}/share/doc/{{ name }}"
@@ -29,6 +29,7 @@ requirements:
   host:
     - python {{ python }}
     - setuptools {{ setuptools }}
+    - pip {{ pip }}
     - docopt {{ docopt }}
     - numpy {{ numpy }}
     - requests {{ requests }}
-- 
GitLab