Create bindings for zig -> python.
When installing from pip, uses ziglang python package that contains zig to compile the source locally.
(.venv) aber # python
>>> from aber import hello
>>> hello.zig_mult(3, 4)
12
export fn zig_mult(a: i32, b: i32) i32 {
return a * b;
}
pip install aber
cd zig && python -m ziglang build && cd ..
python generate_bindings.py
pip install build
python -m build -s -w
poetry build -f sdist
poetry publish