Skip to content

Commit

Permalink
use pip to install individual wrappers
Browse files Browse the repository at this point in the history
`python setup.py <build/install>` is deprecated and will stop working at some point
  • Loading branch information
2bndy5 authored Sep 13, 2024
1 parent d354b83 commit 0030e74
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build_linux_cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,7 @@ jobs:
with:
python-version: ${{ steps.symlink-boost-python.outputs.python-version }}

- name: build python wrapper
if: inputs.compiler == 'default' && inputs.py-wrapper-path != ''
working-directory: ${{ github.workspace }}/${{ steps.lib-info.outputs.name }}/${{ inputs.py-wrapper-path }}
run: python3 setup.py build

- name: install python wrapper
if: inputs.compiler == 'default' && inputs.py-wrapper-path != ''
working-directory: ${{ github.workspace }}/${{ steps.lib-info.outputs.name }}/${{ inputs.py-wrapper-path }}
run: sudo python3 setup.py install
run: python3 -m pip install .

0 comments on commit 0030e74

Please sign in to comment.