Skip to content

Commit

Permalink
add python_exe
Browse files Browse the repository at this point in the history
  • Loading branch information
NT-marlowe committed Mar 20, 2024
1 parent c263f21 commit 8e60279
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish_to_pypi_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4

# - name: Build command 1
# run: cmake . -DCMAKE_BUILD_TYPE=Release
# - name: Build command 2
# run: cmake --build . -j

# Check python executable paths
- name: Echo versions
run: |
Expand All @@ -32,7 +27,7 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ENVIRONMENT: "CMAKE_ARGS='-DPYTHON_EXECUTABLE=$(which python3.10)'"
# CIBW_ENVIRONMENT: "CMAKE_ARGS='-DPYTHON_EXECUTABLE=$(which python3.10)'"
CIBW_BUILD: 'cp310-manylinux_x86_64'

- name: Store the distribution packages
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ where = [""]
[tool.cibuildwheel]

build = "cp310-manylinux_x86_64"
before-build = "cmake . -DCMAKE_BUILD_TYPE=Release && cmake --build . -j "
before-build = "cmake . -DPYTHON_EXECUTABLE=/usr/local/bin/python3.10 -DCMAKE_BUILD_TYPE=Release && cmake --build . -j "
#build = "cp3{8,9,10}-manylinux_x86_64 cp3{8,9,10}-musllinux_x86_64"
#build = "cp3{8,9,10}-manylinux_x86_64"
# "Programming Language :: Python :: 3.8",
# "Programming Language :: Python :: 3.9",
manylinux-x86_64-image = "manylinux_2_28"

# [tool.cibuildwheel.linux]
repair-wheel-command = "auditwheel -v repair -w {dest_dir} {wheel}"
repair-wheel-command = "auditwheel -v repair -w {dest_dir} {wheel}"

0 comments on commit 8e60279

Please sign in to comment.