netcdf4-python/netcdf4-python-norpath.patch
2017-06-20 14:06:32 -06:00

16 lines
585 B
Diff

diff -up netcdf4-python-1.2.9rel/setup.py.norpath netcdf4-python-1.2.9rel/setup.py
--- netcdf4-python-1.2.9rel/setup.py.norpath 2017-06-20 12:41:14.139838454 -0600
+++ netcdf4-python-1.2.9rel/setup.py 2017-06-20 12:42:50.727480710 -0600
@@ -353,10 +353,7 @@ NETCDF4_DIR environment variable not set
lib_dirs.append(curl_libdir)
inc_dirs.append(curl_incdir)
-if sys.platform=='win32':
- runtime_lib_dirs = []
-else:
- runtime_lib_dirs = lib_dirs
+runtime_lib_dirs = []
# Do not require numpy for just querying the package
# Taken from the h5py setup file.