To install demosh
from source, you'll need Python 3.8.10 or higher,
flit
, and make
.
- Install
flit
, most likely withpython3 -m pip install flit
. - Run
make dev
. This will installdemosh
using symlinks, so that further changes you make will be reflected in your installeddemosh
.
- Make sure that
make lint
runs clean before releasing a new version. - Edit
demosh/__init__.py
to change the version. THIS IS VERY IMPORTANT.- Note that
demosh
uses semantic versioning.
- Note that
- Commit and push.
- Tag the pushed commit with the same version that's contained in
__init__.py
, with a leadingv
. - Make sure you have a valid PyPI token in
$HOME/.pypi-token
. - Run
make publish
.