DedalusProject / dedalus

A flexible framework for solving PDEs with modern spectral methods.
http://dedalus-project.org/
GNU General Public License v3.0
489 stars 115 forks source link

setup.py: support installation when MPI and FFTW dirs have not been specified in environment variables #259

Closed Kishore96in closed 11 months ago

Kishore96in commented 1 year ago

If the user has not set environment variables for the MPI and FFTW directories, the lists include_dirs and library_dirs contain None as an entry. This causes setup.py to fail. This PR filters None from these lists so that installation can proceed successfully (assuming mpi and fftw are installed in the standard system paths).

kburns commented 11 months ago

Thanks!