File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,17 @@ extra.
115115 These libraries are only installed on the host Linux machine.
116116 To install libraries or packages within the build environment, alter the
117117 ``cibuildwheel `` configuration to add an install command before the build,
118- such as by setting the ``CIBW_BEFORE_BUILD_MACOS `` environment variable:
118+ such as adding an entry to the ``tool.cibuildwheel `` table in ``pyproject.toml ``:
119+
120+ .. code :: toml
121+
122+ [tool.cibuildwheel.linux]
123+ before-build = "apt install libfftw3-dev"
124+
125+ [tool.cibuildwheel.macos]
126+ before-build = "brew install fftw"
127+
128+ or by setting the ``CIBW_BEFORE_BUILD_MACOS `` environment variable:
119129
120130 .. code :: yaml
121131
@@ -131,16 +141,6 @@ extra.
131141 - cp3*-manylinux_x86_64
132142 - cp3*-macosx_x86_64
133143
134- or by adding an entry to the ``tool.cibuildwheel `` table in ``pyproject.toml ``:
135-
136- .. code :: toml
137-
138- [tool.cibuildwheel.linux]
139- before-build = "apt install libfftw3-dev"
140-
141- [tool.cibuildwheel.macos]
142- before-build = "brew install fftw"
143-
144144 upload_to_pypi
145145^^^^^^^^^^^^^^
146146
You can’t perform that action at this time.
0 commit comments