netcdf4-python/netcdf4-python-norpath.patch

13 lines
829 B
Diff
Raw Normal View History

2014-02-07 05:47:59 +00:00
diff -up netCDF4-1.0.7/setup.py.norpath netCDF4-1.0.7/setup.py
--- netCDF4-1.0.7/setup.py.norpath 2014-02-06 22:42:40.689954718 -0700
+++ netCDF4-1.0.7/setup.py 2014-02-06 22:43:16.600723399 -0700
@@ -295,7 +295,7 @@ else:
if has_cython and 'sdist' not in sys.argv[1:]:
sys.stdout.write('using Cython to compile netCDF4.pyx...\n')
# recompile netCDF4.pyx
- extensions = [Extension("netCDF4",["netCDF4.pyx"],libraries=libs,library_dirs=lib_dirs,include_dirs=inc_dirs,runtime_library_dirs=lib_dirs)]
+ extensions = [Extension("netCDF4",["netCDF4.pyx"],libraries=libs,library_dirs=lib_dirs,include_dirs=inc_dirs)]
# remove netCDF4.c file if it exists, so cython will recompile netCDF4.pyx.
if len(sys.argv) >= 2 and 'build' in sys.argv[1:] and os.path.exists('netCDF4.c'):
os.remove('netCDF4.c')