[h5py] 217/455: Fixes for Windows compilation

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:34 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 23178bac2b70aea840da6c42d1971a3d54a1f2d5
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Tue Feb 3 05:44:49 2009 +0000

    Fixes for Windows compilation
---
 setup.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index 7fa751c..c8a6df5 100644
--- a/setup.py
+++ b/setup.py
@@ -200,8 +200,9 @@ class ExtensionCreator(object):
     def __init__(self, hdf5_loc=None):
         if sys.platform == 'win32':
             if hdf5_loc is None:
-                fatal("On Windows, HDF5 directory must be specified.")
-
+                warn("On Windows, HDF5 directory must be specified.")
+                hdf5_loc = '.'
+                
             self.libraries = ['hdf5dll18']
             self.include_dirs = [numpy.get_include(),
                                  op.join(hdf5_loc, 'include'),
@@ -553,7 +554,8 @@ setup(
   package_data = package_data,
   ext_modules = EXTENSIONS,
   requires = ['numpy (>=%s)' % MIN_NUMPY],
-  cmdclass = CMD_CLASS
+  cmdclass = CMD_CLASS,
+  test_suite = 'nose.collector'
 )
 
 

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