Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/how-to-guides/meson-args.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ permanently in the project's ``pyproject.toml``:
[tool.meson-python.args]
setup = ['--vsenv']

# In case you want to build Windows wheels using cibuildwheel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It now looks like a single example, however the cibuildwheel content is only needed if the setup = ['--vsenv'] above isn't desirable to set by default. So I suggest making the next two lines a separate code block, and change this code comment to a sentence: "And in case you don't want to set --vsenv as the default, but do want to build Windows wheels in CI using cibuildwheel:".

[tool.cibuildwheel.windows]
config-settings = { setup-args = ["--vsenv"] }

To set this option temporarily at build-time:

.. tab-set::
Expand Down