Skip to content

Commit

Permalink
Trying to fix pygraphviz build
Browse files Browse the repository at this point in the history
  • Loading branch information
parul-l committed Mar 4, 2024
1 parent f887f01 commit ac94c4f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,13 @@ jobs:
fi
pip install .[plotting]
unset LDFLAGS
unset CPPFLAGS
export GRAPHVIZ_DIR="$(brew --prefix graphviz)"
pip install pygraphviz \
--global-option=build_ext \
--global-option="-I$GRAPHVIZ_DIR/include" \
--global-option="-L$GRAPHVIZ_DIR/lib"
unset LDFLAGS
unset CPPFLAGS
pip install .[postgres]
pip install .[R]
Expand All @@ -91,6 +96,13 @@ jobs:
fi
pip install .[plotting]
export GRAPHVIZ_DIR="$(brew --prefix graphviz)"
pip install pygraphviz \
--global-option=build_ext \
--global-option="-I$GRAPHVIZ_DIR/include" \
--global-option="-L$GRAPHVIZ_DIR/lib"
unset LDFLAGS
unset CPPFLAGS
unset LDFLAGS
unset CPPFLAGS
elif [ $PYPI_BUILD = 'only_r' ]; then
Expand Down

0 comments on commit ac94c4f

Please sign in to comment.