Files
MINGW-packages/mingw-w64-python-h5py/setup.py.patch
2014-09-25 21:54:48 +02:00

20 lines
606 B
Diff

--- 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'),