Skip to content

Commit

Permalink
Fix cibuildwheel configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelm committed Nov 20, 2023
1 parent 39b5533 commit a3147cc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,16 @@ write_to = "src/dnaio/_version.py"
[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.cibuildwheel]
environment_windows = "CFLAGS=-g0 -DNDEBUG"
environment_macos = "CFLAGS=-g0 -DNDEBUG"
environment_linux = "CFLAGS=-g0 -DNDEBUG -mssse3"
[tool.cibuildwheel.windows.environment]
CFLAGS = "-g0 -DNDEBUG"

[tool.cibuildwheel.macos.environment]
CFLAGS = "-g0 -DNDEBUG"

[tool.cibuildwheel.linux.environment]
CFLAGS = "-g0 -DNDEBUG -mssse3"

[tool.cibuildwheel]
test-requires = "pytest"
test-command = ["cd {project}", "pytest tests"]

Expand Down

0 comments on commit a3147cc

Please sign in to comment.