geoslegend / netcdf4-python

Automatically exported from code.google.com/p/netcdf4-python
Other
0 stars 0 forks source link

Please add option to disable setting runtime_library_dirs #138

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the processes of packaging netcdf4-python for Fedora, it was necessary to 
remove setting runtime_library_dirs as setting the rpath in forbidden in Fedora:

--- netCDF4-1.0/setup.py.norpath        2012-05-12 08:04:26.000000000 -0600
+++ netCDF4-1.0/setup.py        2012-05-23 16:38:16.376417441 -0600
@@ -163,7 +163,7 @@ NETCDF4_DIR environment variable not set
         lib_dirs.append(szip_libdir)
         inc_dirs.append(szip_incdir)

-extensions = 
[Extension("netCDF4",["netCDF4.c"],libraries=libs,library_dirs=lib_dirs,include_
dirs=inc_dirs,runtime_library_dirs=lib_dirs)]
+extensions = 
[Extension("netCDF4",["netCDF4.c"],libraries=libs,library_dirs=lib_dirs,include_
dirs=inc_dirs)]

 setup(name = "netCDF4",
   version = "1.0",

It would be helpful if there was an option to disable this, or perhaps just not 
set it if lib_dirs consists of /usr/lib, /usr/lib64 only.

Original issue reported on code.google.com by or...@cora.nwra.com on 12 Sep 2012 at 9:45

GoogleCodeExporter commented 8 years ago

Original comment by whitaker.jeffrey@gmail.com on 26 Feb 2014 at 2:04