From 800ed9ca8d2220bc6cceb7c494dd500ad29071ff Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Fri, 26 Nov 2021 16:35:35 +0100
Subject: [PATCH] [conda] Added required pip install command and dep

---
 conda/meta.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 63afbcb..6f3ecaa 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -14,12 +14,17 @@ build:
     {% if environ.get('BUILD_EGG') %}
     - 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 }}"
+    - cp -R README.rst requirements.txt doc "${PREFIX}/share/doc/{{ name }}/"
 
 requirements:
   host:
     - python {{ python }}
     - setuptools {{ setuptools }}
+    - pip {{ pip }}
     - bob.extension
     - bob.blitz
     - bob.io.base
-- 
GitLab