Skip to content

Commit 5fb1c22

Browse files
jswhit2jswhit2
authored andcommitted
add CONDA_PREFIX to path in pyproject.toml for cibuildwheel
1 parent d2b05c5 commit 5fb1c22

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ jobs:
129129
uses: pypa/cibuildwheel@v3.2.1
130130
env:
131131
CIBW_ARCHS: ${{ matrix.arch }}
132-
CIBW_ENVIRONMENT: > PATH="${CONDA_PREFIX}/bin:$PATH"
133132

134133
- uses: actions/upload-artifact@v5
135134
with:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ environment = {MACOSX_DEPLOYMENT_TARGET="14.0"}
140140

141141
[tool.cibuildwheel.windows]
142142
before-build = "python -m pip install delvewheel"
143+
environment = "PATH=$CONDA_PREFIX/bin:$PATH"
143144
repair-wheel-command = [
144145
"delvewheel show {wheel}",
145146
"delvewheel repair -w {dest_dir} {wheel}",

0 commit comments

Comments
 (0)