Skip to content

Commit

Permalink
update pyproject to build for cibuildwheel using uv
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelLucaAdams committed Oct 30, 2024
1 parent ca2736e commit cdcb7d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,22 @@ docs = [
"sphinx-inline-tabs",
]
tests = ["pytest >= 3.3.0"]
build = ["cibuildwheel[uv]"]


[tool.setuptools_scm]
write_to = "src/epydeck/_version.py"
local_scheme = "no-local-version"

[tool.ruff]
line-length = 88
lint.ignore = ["E501"]

[tool.cibuildwheel]
build-frontend = "build[uv]"
skip = ["*-win32", "*-manylinux_i686", "pp*", "*musllinux*"]
test-extras = ["test"]
test-command = "pytest {project}/tests"

[tool.uv]
cache-keys = [{ file = "pyproject.toml" }, { git = true }]

0 comments on commit cdcb7d1

Please sign in to comment.