github pyozig/PyOZ v0.11.2
PyOZ v0.11.2

latest releases: v0.12.2, v0.12.1, v0.12.0...
5 months ago

What's New in v0.11.2

Fixed

  • Windows build support - Fixed 77 lld-link: undefined symbol errors when building PyOZ projects on Windows. The generated build.zig template now accepts -Dpython-lib-dir and -Dpython-lib-name options, and pyoz build passes them automatically on Windows to link against python3.lib (stable ABI). Windows requires all symbols resolved at link time, unlike Linux/macOS which resolve Python symbols at runtime.
  • Windows output path - Fixed FileNotFound error during wheel creation on Windows. Zig places DLLs (.pyd) in zig-out/bin/ on Windows, not zig-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 also import ravn (the package name) in addition to import _ravn, so users can write assert ravn.add(2, 3) == 5 in their tests. The test/bench runners also detect package mode, copy the .pyd/.so into the package directory, and add the project root to PYTHONPATH.
  • 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

Don't miss a new PyOZ release

NewReleases is sending notifications on new releases.