File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -179,9 +179,21 @@ repair-wheel-command = [
179179
180180[tool .cibuildwheel .pyodide ]
181181before-all = " bin/cibw_before_all_pyodide.sh"
182+ before-build = " pip install wheel"
182183pyodide-version = " 0.28.2"
183184# GMP, MPFR, and FLINT are built as static libraries for Pyodide.
184- repair-wheel-command = " "
185+ repair-wheel-command = [
186+ """ python bin/cibw_repair_wheel_licenses.py "{wheel}" \
187+ --license LGPL-3.0-or-later \
188+ --license-file 'wasm-library-dir/src/gmp-*/COPYING:python-flint.libs/gmp-*/COPYING' \
189+ --license-file 'wasm-library-dir/src/gmp-*/COPYING.LESSERv3:python-flint.libs/gmp-*/COPYING.LESSERv3' \
190+ --license-file 'wasm-library-dir/src/mpfr-*/COPYING:python-flint.libs/mpfr-*/COPYING' \
191+ --license-file 'wasm-library-dir/src/mpfr-*/COPYING.LESSER:python-flint.libs/mpfr-*/COPYING.LESSER' \
192+ --license-file 'wasm-library-dir/src/flint-*/COPYING:python-flint.libs/flint-*/COPYING' \
193+ --license-file 'wasm-library-dir/src/flint-*/COPYING.LESSER:python-flint.libs/flint-*/COPYING.LESSER' \
194+ """ ,
195+ " cp \" {wheel}\" \" {dest_dir}\" " ,
196+ ]
185197test-command = " python -m pytest -svra -p no:cacheprovider --pyargs flint"
186198test-requires = [" pytest" , " hypothesis" ]
187199
You can’t perform that action at this time.
0 commit comments