Skip to content

Commit

Permalink
Ensure built package works
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyfeldroy committed Jul 7, 2024
1 parent 5806c9b commit a6d4f2d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,21 @@ Try to implement features as plugins rather than adding them to the core codebas
rye version -b minor
git commit -am "Release version x.y.z"
rye build
```

Make sure the built package works:

```bash
python -m venv .venvtmp
source .venvtmp/bin/activate
pip install dist/your-package-0.3.0-py3-none-any.whl
(test your package here)
deactivate
rm -rf .venvtmp
```

Then publish the package to PyPI:

```bash
rye publish
```

0 comments on commit a6d4f2d

Please sign in to comment.