From 13137aea975d377ccd0cc79dc07d8749559e80b2 Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Wed, 11 Nov 2020 15:07:35 +0100
Subject: [PATCH] [conda] Make MXNet optional

---
 conda/meta.yaml  | 2 +-
 requirements.txt | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index ad60d115..8aca2873 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -43,7 +43,6 @@ requirements:
     - bob.pipelines
     - matplotlib {{ matplotlib }}
     - six {{ six }}
-    - mxnet
   run:
     - python
     - setuptools
@@ -53,6 +52,7 @@ requirements:
   optional:
     - bob.learn.tensorflow
     - tensorflow
+    - mxnet
 
 test:
   imports:
diff --git a/requirements.txt b/requirements.txt
index 0b573c7e..85daa8e0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -20,5 +20,4 @@ bob.ip.facedetect
 bob.pipelines
 matplotlib   # for plotting
 six
-scikit-image
-mxnet
\ No newline at end of file
+scikit-image
\ No newline at end of file
-- 
GitLab