From 75025ec411eecb35f98160d605d55c80f4064400 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Fri, 12 Sep 2014 15:36:00 +0200
Subject: [PATCH] Compliance with new bob.buildout build scheme

---
 requirements.txt |  9 +++++++++
 setup.py         | 14 +++-----------
 2 files changed, 12 insertions(+), 11 deletions(-)
 create mode 100644 requirements.txt

diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..bfc83b5
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,9 @@
+setuptools
+bob.extension
+bob.blitz
+bob.core
+bob.io.base
+bob.sp
+bob.math
+bob.learn.activation
+bob.learn.linear
diff --git a/setup.py b/setup.py
index fa3cf02..64b2046 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@
 bob_packages = ['bob.core', 'bob.io.base', 'bob.sp', 'bob.math', 'bob.learn.activation', 'bob.learn.linear']
 
 from setuptools import setup, find_packages, dist
-dist.Distribution(dict(setup_requires=['bob.blitz'] + bob_packages))
+dist.Distribution(dict(setup_requires=['bob.extension', 'bob.blitz'] + bob_packages))
 from bob.blitz.extension import Extension, Library, build_ext
 
 packages = ['boost']
@@ -29,16 +29,8 @@ setup(
     packages=find_packages(),
     include_package_data=True,
 
-    install_requires=[
-      'setuptools',
-      'bob.blitz',
-      'bob.core',
-      'bob.io.base',
-      'bob.sp',
-      'bob.math',
-      'bob.learn.activation',
-      'bob.learn.linear',
-      ],
+    setup_requires = build_requires,
+    install_requires = build_requires,
 
     namespace_packages=[
       "bob",
-- 
GitLab