Rename module to pyaegis, implement build with zig.

This commit is contained in:
Leo Vasanko
2025-11-06 10:47:54 -06:00
parent 8898cec50f
commit 42ddaac6bc
16 changed files with 354 additions and 494 deletions
+11 -1
View File
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "cffi>=2.0.0"]
build-backend = "hatchling.build"
[project]
@@ -26,3 +26,13 @@ Homepage = "https://github.com/aegis-aead/libaegis"
dev = [
"pytest>=8.4.2",
]
[tool.hatch.build.hooks.custom]
# Placeholder build hook for compiling libaegis with Zig during wheel builds.
# The actual Zig build is intentionally not executed yet.
path = "tools/build_hook.py"
[tool.hatch.build.targets.wheel]
# Ensure only the Python package is included by default; native artifacts
# will be added by the build hook once implemented.
packages = ["pyaegis"]