Skip to content

Commit

Permalink
remove swig to CIBW_BEFORE_BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBok committed Jun 8, 2024
1 parent 68232d6 commit 811df89
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,22 @@ jobs:
which swig
CIBW_BEFORE_BUILD: |
pip install --upgrade pip
pip install numpy swig
pip install numpy
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
which swig
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
swig -swiglib
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
swig -swiglib | xargs ls -l
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
echo $SWIG_EXECUTABLE
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
python -c "import numpy;print(numpy.get_include())"
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
export NUMPY_INCLUDE_DIRS=$(python -c "import numpy;print(numpy.get_include())")
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
echo $NUMPY_INCLUDE_DIRS
run: |
python -m pip install -U pip cibuildwheel==2.18.1
python -m cibuildwheel --output-dir dist
Expand Down

0 comments on commit 811df89

Please sign in to comment.