What's New in v0.11.2
Fixed
- Windows build support - Fixed 77
lld-link: undefined symbolerrors when building PyOZ projects on Windows. The generatedbuild.zigtemplate now accepts-Dpython-lib-dirand-Dpython-lib-nameoptions, andpyoz buildpasses them automatically on Windows to link againstpython3.lib(stable ABI). Windows requires all symbols resolved at link time, unlike Linux/macOS which resolve Python symbols at runtime. - Windows output path - Fixed
FileNotFounderror during wheel creation on Windows. Zig places DLLs (.pyd) inzig-out/bin/on Windows, notzig-out/lib/. The builder, test runner, and benchmark runner now use the correct output directory per platform. - Package mode test/bench imports - In package layout (module name starts with
_), the generated test and benchmark scripts now alsoimport ravn(the package name) in addition toimport _ravn, so users can writeassert ravn.add(2, 3) == 5in their tests. The test/bench runners also detect package mode, copy the.pyd/.sointo the package directory, and add the project root toPYTHONPATH. - ASCII tree output for
pyoz init- Replaced UTF-8 box-drawing characters with ASCII in the project structure output, fixing garbled display on Windows PowerShell.
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.11.2.tar.gz for the source code.
Quick Start
pyoz init mymodule
cd mymodule
pyoz build
pip install dist/*.whl