What's New in v0.10.3
Added
- PEP 517 build backend - Added
pyoz.backendmodule implementing PEP 517 hooks (build_wheel,build_sdist,get_requires_for_build_wheel). Projects generated bypyoz initnow setbuild-backend = "pyoz.backend"sopip install .works out of the box. Previously,build-backend = "pyoz.build"pointed to thebuildfunction rather than a proper backend module.
Fixed
- Methods returning
[]Ton classTcaused compile error - When a method on a registered classTreturned[]T(a slice of its own type), PyOZ's method chaining detection misidentified the slice as a*const Tself-pointer. The return type dispatch now checks for single-item pointers (.size == .one) before entering the self-return path, so slices correctly convert to Python lists. The same fix was applied to__iter__return handling.
Installation
Download the binary for your platform and add it to your PATH:
| Platform | Binary |
|---|---|
| Linux x86_64 | pyoz-x86_64-linux
|
| Linux ARM64 | pyoz-aarch64-linux
|
| macOS x86_64 | pyoz-x86_64-macos
|
| macOS ARM64 (Apple Silicon) | pyoz-aarch64-macos
|
| Windows x86_64 | pyoz-x86_64-windows.exe
|
| Windows ARM64 | pyoz-aarch64-windows.exe
|
Source
Download PyOZ-0.10.3.tar.gz for the source code.
Quick Start
pyoz init mymodule
cd mymodule
pyoz build
pip install dist/*.whl