Skip to content

Commit

Permalink
add debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Nov 13, 2022
1 parent 82f4acb commit 8540310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/miniconda.yml
Expand Up @@ -72,6 +72,7 @@ jobs:
export PATH="${CONDA_PREFIX}/bin:${CONDA_PREFIX}/Library/bin:$PATH" # so setup.py finds nc-config
nc-config --all
export MPI4PY_INCLUDE=`python -c 'import mpi4py; print(mpi4py.get_include())'`
echo "MPI4PY_INCLUDE=${MPI4PY_INCLUDE}"
pip install -v -e . --no-deps --force-reinstall
- name: Debug conda
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -693,6 +693,7 @@ def _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs):
# mpi_incdir should not be needed if using nc-config
# (should be included in nc-config --cflags)
if mpi_incdir is not None: inc_dirs.append(mpi_incdir)
print('inc_dirs=',inc_dirs)

ext_modules = [Extension("netCDF4._netCDF4",
[netcdf4_src_pyx],
Expand Down

0 comments on commit 8540310

Please sign in to comment.