Build a release
Prerequisites
Build
git clone https://github.com/sethfischer/sphinxcontrib-cadquery.git
cd sphinxcontrib-cadquery
poetry env use python3.12
poetry install
eval $(poetry env activate)
npm clean-install
make npm-build poetry-build
Following the above a sdist and wheel will be in the dist/ directory.
Install
The built release can be install into a project as follows.
Poetry
poetry add path/to/dist/sphinxcontrib_cadquery-0.1.0.tar.gz
Pip
pip install path/to/dist/sphinxcontrib_cadquery-0.1.0.tar.gz
Publish release
git checkout main
cz bump
git push origin main --tags
make poetry-build
poetry publish