Skip to content

Commit

Permalink
refactor: Move information to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
sindre-nistad committed Jan 17, 2025
1 parent ff716a5 commit 31c2433
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ jobs:
CIBW_ENVIRONMENT_WINDOWS: >
MKL_DIR="C:\\Program Files (x86)\\Intel\\oneAPI\\mkl\\2025.0\\lib\\cmake\\mkl"
CIBW_ARCHS_WINDOWS: AMD64
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair --include-imports --wheel-dir {dest_dir} {wheel}"
with:
output-dir: 'dist'

Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ test-requires = [
"scipy",
]
test-command = "pytest {project}/tests"
[tool.cibuildwheel.windows]
# We use delvewheel to ensure _gaussianfft.lib, which is aprt of the build artefacts,
# is included / imported when _gaussianfft.pyd is imported
before-all = "pip install delvewheel==1.10.0"
repair-wheel-command = "delvewheel repair --include-imports --wheel-dir {dest_dir} {wheel}"


[tool.scikit-build]
cmake.version = ">=3.19"
Expand Down

0 comments on commit 31c2433

Please sign in to comment.