added package python-h5py

This commit is contained in:
U-Laptop\rute
2014-09-25 21:54:48 +02:00
parent 81e55f9ba8
commit 38643c9a8b
3 changed files with 127 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
--- h5py-py3-2.3.1/setup.py 2014-06-23 01:13:59.000000000 +0200
+++ h5py-py2-2.3.1/setup.py 2014-09-25 21:35:00.415345000 +0200
@@ -19,6 +19,7 @@
VERSION = '2.3.1'
+MSYS = "MSYSTEM" in os.environ
# --- Encapsulate NumPy imports in a specialized Extension type ---------------
@@ -131,7 +132,7 @@
# --- Configure Cython and create extensions ----------------------------------
-if sys.platform.startswith('win'):
+if sys.platform.startswith('win') and not MSYS:
COMPILER_SETTINGS = {
'libraries' : ['h5py_hdf5','h5py_hdf5_hl'],
'include_dirs' : [localpath('lzf'),