Skip to content

Commit

Permalink
trying to fix scm autoversioning for macos pyuda wheel builds
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-dixon committed Apr 15, 2024
1 parent 93cc2cf commit 4d9b69b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ jobs:
CIBW_BUILD: cp*-${{matrix.build-platform[2]}}
CIBW_SKIP: cp36* cp37*
CIBW_BEFORE_ALL:
SETUPTOOLS_SCM_DEBUG=1 python3 ./source/wrappers/python/setup.py --version
/opt/python/cp38-38/bin/python3 -m venv venv38 && source venv38/bin/activate &&
pip3 install --upgrade pip wheel &&
pip3 install setuptools seruptools_scm cython numpy &&
SETUPTOOLS_SCM_DEBUG=1 python3 ./source/wrappers/python/setup.py --version &&
deactivate && rm -r venv38


- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 4d9b69b

Please sign in to comment.