Skip to content

Commit

Permalink
Must be passed by environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Dec 29, 2024
1 parent 1af8ab9 commit aef53c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:

- name: Build wheels
uses: pypa/cibuildwheel@v2.20.0
env:
CIBW_CONFIG_SETTINGS_WINDOWS: 'setup-args="--vsenv"'

- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ archs = "auto64"
# Disable assertion rewriting since that sometimes has issues on PyPy.
before-test = "pip install -r test-requirements.txt"
test-command = 'pytest --assert=plain -m "not slow" {project}/tests'
[tool.cibuildwheel.config-settings-windows]
setup-args = "--vsenv" # Use MSVC, not MinGW

[tool.pytest.ini_options]
markers = [
Expand Down

0 comments on commit aef53c8

Please sign in to comment.