Local setup
Install dependencies with Poetry:Tests and lint
Run tests:Build
Build source and wheel distributions:pipx source because pipx upgrade hevn-cli reinstalls from the same local artifact.
Publishing
PyPI publishing is handled by thePublish to PyPI GitHub Actions workflow. Run it manually from main.
The workflow:
- runs lint and tests,
- checks
hevn --helpon Ubuntu, macOS, and Windows, - builds the package once from Ubuntu,
- publishes to PyPI with trusted publishing.
| Field | Value |
|---|---|
| Owner | hevn |
| Repository | hevn-cli |
| Workflow | .github/workflows/publish-pypi.yml |
| Environment | pypi |
Homebrew formula guidance
The Homebrew formula should install the PyPI package inside Homebrew’s isolated Python virtualenv. Do not shell out to systempip install hevn-cli from the formula.