From 3b6bcc109bf273643a315a6eaa0b4edb197b0cfd Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Wed, 14 Jun 2023 10:48:16 +0200
Subject: [PATCH] meta(deps): add bob as dependency in new structure

---
 conda/meta.yaml | 18 ++++++++++--------
 pyproject.toml  |  8 ++++----
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index 9470059..8afeca8 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -22,25 +22,27 @@ requirements:
     - python {{ python }}
     - setuptools {{ setuptools }}
     - pip {{ pip }}
+    - bob
     - bob.io.base
-    - clapper
-    - numpy {{ numpy }}
-    - scipy {{ scipy }}
+    - clapper {{ clapper }}
     - h5py {{ h5py }}
     - matplotlib {{ matplotlib }}
-    - tabulate {{ tabulate }}
     - numba {{ numba }}
+    - numpy {{ numpy }}
+    - scipy {{ scipy }}
+    - tabulate {{ tabulate }}
   run:
     - python
     - setuptools
+    - bob
     - bob.io.base
-    - clapper
-    - {{ pin_compatible('numpy') }}
-    - {{ pin_compatible('scipy') }}
+    - {{ pin_compatible('clapper') }}
     - {{ pin_compatible('h5py') }}
     - {{ pin_compatible('matplotlib') }}
-    - {{ pin_compatible('tabulate') }}
     - {{ pin_compatible('numba') }}
+    - {{ pin_compatible('numpy') }}
+    - {{ pin_compatible('scipy') }}
+    - {{ pin_compatible('tabulate') }}
 
 test:
   imports:
diff --git a/pyproject.toml b/pyproject.toml
index 8a57cc8..80430e1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,15 +25,15 @@
         "Topic :: Software Development :: Libraries :: Python Modules",
     ]
     dependencies = [
-        "setuptools",
-        "numpy",
+        "bob",
         "bob.io.base",
         "clapper",
-        "scipy",
         "h5py",
         "matplotlib",
-        "tabulate",
         "numba",
+        "numpy",
+        "scipy",
+        "tabulate",
     ]
 
 [project.urls]
-- 
GitLab