1.0.6
What's New
pip / uv Install Support
PSProject can now be installed as a Python package via pip or uv:
uv pip install psproject
pip install psprojectThe package builds the Swift binary from source during installation and places it at .venv/bin/psproject.
Changes
- pip package support:
setup.pybuilds the Swift package and bundles the binary into a platform-specific wheel - pyproject.toml: Full project metadata with setuptools backend
- Architecture control: Set
PSPROJECT_ARCHSenv var to build forarm64,x86_64, or both (universal2) - Correct wheel tagging: Wheels are tagged
py3-none-macosx_*with the correct architecture suffix - Version from pyproject.toml: The Swift CLI version is set automatically from
pyproject.tomlduring build via the SetVersion plugin - PyPI publishing workflow: GitHub Actions workflow to build and publish wheels to PyPI on release
- Various Swift source fixes