Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ jobs:
with:
path: dist
merge-multiple: true
- run: uvx twine check dist/*.whl
- run: uvx twine check --strict dist/*
- run: uvx abi3audit dist/*abi3*.whl
- run: uvx pydistcheck --inspect dist/*
- run: uvx check-wheel-contents dist/*.whl
- run: uvx check-manifest -v

publish:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include siphash/*.h
include siphash/README.md
include test_siphashc.py
include LICENSE.md
include SECURITY.md
include README.rst
include CHANGES.rst
include pyproject.toml
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules"
]
description = "Python module (in c) for siphash-2-4"
Expand All @@ -49,10 +54,24 @@ Homepage = "https://github.com/WeblateOrg/siphashc"
"Source Code" = "https://github.com/WeblateOrg/siphashc"
Twitter = "https://twitter.com/WeblateOrg"

[tool.check-manifest]
ignore = [
"*.yaml",
"*.yml",
"benchmark.py",
".editorconfig"
]

[tool.check-wheel-contents]
ignore = ["W009", "W010"]

[tool.cibuildwheel]
test-command = "pytest {project}/test_siphashc.py {project}/README.rst"
test-requires = "pytest"

[tool.cibuildwheel.linux]
repair-wheel-command = "auditwheel repair --strip -w {dest_dir} {wheel}"

[tool.isort]
profile = "black"

Expand Down