added package python-h5py
This commit is contained in:
19
mingw-w64-python-h5py/setup.py.patch
Normal file
19
mingw-w64-python-h5py/setup.py.patch
Normal 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'),
|
||||
Reference in New Issue
Block a user