Skip to content

1.0.6

Choose a tag to compare

@psychowasp psychowasp released this 24 Feb 20:03
· 10 commits to master since this release

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 psproject

The package builds the Swift binary from source during installation and places it at .venv/bin/psproject.

Changes

  • pip package support: setup.py builds the Swift package and bundles the binary into a platform-specific wheel
  • pyproject.toml: Full project metadata with setuptools backend
  • Architecture control: Set PSPROJECT_ARCHS env var to build for arm64, 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.toml during build via the SetVersion plugin
  • PyPI publishing workflow: GitHub Actions workflow to build and publish wheels to PyPI on release
  • Various Swift source fixes