[h5py] 337/455: Fix autodetection on Windows

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.

commit 9cd1ece771c0a3f885ac425b063fd7776f81bbd4
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Mon Dec 21 19:37:59 2009 +0000

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

diff --git a/setup.py b/setup.py
index f472e12..ebd40f5 100644
--- a/setup.py
+++ b/setup.py
@@ -308,10 +308,10 @@ int main(){
             except CompileError:
                 fatal("Can't find your installation of HDF5.  Use the --hdf5 option to manually specify the path.")
             try:
-                cc.link_executable(objs, localpath('detect','h5vers'))
+                cc.link_executable(objs, localpath('detect','h5vers.exe'))
             except LinkError:
                 fatal("Can't link against HDF5.")
-            status, output = commands.getstatusoutput(localpath('detect', 'h5vers'))
+            status, output = commands.getstatusoutput(localpath('detect', 'h5vers.exe'))
             if status:
                 fatal("Error running HDF5 version detection script")
             vmaj, vmin, vrel = (int(v) for v in output.split('.'))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list