diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index 3964dc9..515a8b2 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -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') diff --git a/MANIFEST.in b/MANIFEST.in index d7dc84c..6e3ce33 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 8e410bb..c0c6fb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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"