From 820444f4fc6ebad6c4b14feaee69cd2a8aa81829 Mon Sep 17 00:00:00 2001
From: Manuel Guenther <manuel.guenther@idiap.ch>
Date: Mon, 5 Jan 2015 12:52:36 +0100
Subject: [PATCH] Fixed setup

---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 677ea02..b085a65 100644
--- a/setup.py
+++ b/setup.py
@@ -103,10 +103,10 @@ class hdf5:
         raise RuntimeError("could not find the required (%s) version of %s on the file system (looked at: %s)" % (requirement, self.name, ', '.join(candidates)))
 
       # normalize
-      self.include_directories = [os.path.normpath(self.include_directory)]
+      self.include_directories = [os.path.normpath(i) for i in self.include_directories]
 
       # find library
-      prefix = os.path.dirname(os.path.dirname(self.include_directory))
+      prefix = os.path.dirname(os.path.dirname(self.include_directories[0]))
       module = 'hdf5'
       candidates = find_library(module, version=self.version, prefixes=[prefix], only_static=only_static)
 
-- 
GitLab