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).
If the user has not set environment variables for the MPI and FFTW directories, the lists
include_dirs
andlibrary_dirs
containNone
as an entry. This causessetup.py
to fail. This PR filtersNone
from these lists so that installation can proceed successfully (assuming mpi and fftw are installed in the standard system paths).