From 42f90c2d64bb90549bc5bc673036fc8a6fd23576 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 26 Sep 2017 16:02:36 +0200
Subject: [PATCH] pin python and setuptools also

---
 gitlab/conda_build_config.yaml | 2 ++
 templates/meta.yaml            | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gitlab/conda_build_config.yaml b/gitlab/conda_build_config.yaml
index aef7a5d..ae355a9 100644
--- a/gitlab/conda_build_config.yaml
+++ b/gitlab/conda_build_config.yaml
@@ -55,6 +55,8 @@ sphinx:
  - 1.5.6
 sphinx_rtd_theme:
   - 0.2.4
+setuptools:
+  - 27.2.0
 
 pin_run_as_build:
   libgcc:
diff --git a/templates/meta.yaml b/templates/meta.yaml
index a426746..e5ee9f2 100644
--- a/templates/meta.yaml
+++ b/templates/meta.yaml
@@ -17,8 +17,8 @@ build:
 
 requirements:
   build:
-    - python
-    - setuptools
+    - python {{ python }}
+    - setuptools {{ setuptools }}
     - toolchain {{ toolchain }}
     <BUILD_DEPS>
   run:
-- 
GitLab