2016-02-07 22:55:32 +00:00
|
|
|
diff -up netcdf4-python-1.2.2rel/setup.py.norpath netcdf4-python-1.2.2rel/setup.py
|
|
|
|
--- netcdf4-python-1.2.2rel/setup.py.norpath 2016-02-05 08:32:27.626630007 -0700
|
|
|
|
+++ netcdf4-python-1.2.2rel/setup.py 2016-02-05 08:33:33.808264087 -0700
|
|
|
|
@@ -382,8 +382,7 @@ if has_cython and 'sdist' not in sys.arg
|
|
|
|
[netcdf4_src_root + '.pyx'],
|
|
|
|
libraries=libs,
|
|
|
|
library_dirs=lib_dirs,
|
|
|
|
- include_dirs=inc_dirs,
|
|
|
|
- runtime_library_dirs=runtime_lib_dirs),
|
|
|
|
+ include_dirs=inc_dirs),
|
2014-12-22 04:43:43 +00:00
|
|
|
Extension('netcdftime._datetime', ['netcdftime/_datetime.pyx'])]
|
2014-02-07 05:47:59 +00:00
|
|
|
# remove netCDF4.c file if it exists, so cython will recompile netCDF4.pyx.
|
2015-02-22 03:10:46 +00:00
|
|
|
# run for build *and* install (issue #263). Otherwise 'pip install' will
|
2016-02-07 22:55:32 +00:00
|
|
|
@@ -425,8 +424,7 @@ else:
|
|
|
|
[netcdf4_src_c],
|
|
|
|
libraries=libs,
|
|
|
|
library_dirs=lib_dirs,
|
|
|
|
- include_dirs=inc_dirs,
|
|
|
|
- runtime_library_dirs=runtime_lib_dirs),
|
|
|
|
+ include_dirs=inc_dirs),
|
2014-12-22 04:43:43 +00:00
|
|
|
Extension('netcdftime._datetime', ['netcdftime/_datetime.c'])]
|
2016-02-07 22:55:32 +00:00
|
|
|
ext_modules = extensions
|
2014-05-09 21:41:43 +00:00
|
|
|
|