[h5py] 347/455: Fix windows DLL issue

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:49 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 5feb870387b47155a34224b256f1b904f5bb48d8
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Tue Jan 5 06:23:22 2010 +0000

    Fix windows DLL issue
---
 setup.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/setup.py b/setup.py
index d097b93..0146079 100644
--- a/setup.py
+++ b/setup.py
@@ -311,6 +311,8 @@ int main(){
                 cc.link_executable(objs, localpath('detect','h5vers.exe'))
             except LinkError:
                 fatal("Can't link against HDF5.")
+            if sys.platform == 'win32':
+                shutil.copy(localpath('h5py', 'hdf5dll18.dll'), localpath('detect', 'hdf5dll18.dll'))
             result = subprocess.Popen(localpath('detect', 'h5vers.exe'),
                      stdout=subprocess.PIPE, stderr=subprocess.PIPE)
             so, se = result.communicate()

-- 
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