NCAR / pynio

PyNIO is a multi-format data I/O package with a NetCDF-style interface
http://www.pyngl.ucar.edu/Nio.shtml
Apache License 2.0
112 stars 37 forks source link

Fix for building from source (two character modification to setup.py) #45

Open briandobbins opened 3 years ago

briandobbins commented 3 years ago

Modified setup.py's EXTRA_OBJECTS variable to use an empty set ([] vs '') when the variable isn't found in the check. The empty value is problematic for distutils, but NCAR's compiler wrappers eliminate the empty space, whereas directly calling the compilers does not - this leads to build problems on other systems. (Usually hidden because it's installed via Conda in most cases.)

I'm very bad at python, so my terminology above is likely incorrect, but I'm pretty sure the diagnosis is right. :-)