- You need to be on a mac to follow these instructions.
- First get python 3.12for your local Mac system:
curl https://www.python.org/ftp/python/3.12.6/python-3.12.6-macos11.pkg > ~/Desktop/python-3.12.6-macos11.pkg
- Note: it is not sufficient to have a conda env with python 3.12, you have to
  install 3.12 as the system python.
- Start your shakemap venv.
- Get cibuildwheel:
pip install cibuildwheel
- Also install twine:
pip install twine

THIS DOESN'T WORK ANYMORE:
- Then, tag your release and push it upstream as in a normal release. That will
  build the linux versions and deploy to pypi.


DO THIS:
- Install homebrew from https://brew.sh/
- brew install docker
- brew install colima
- start colima
- Edit pyproject.toml and edit the cibuildwheel "skip" line to build v3.9 through
v3.12 of python
- push your project and merge it
- git checkout main and tag it your release number
- python3 -m cibuildwheel --platform linux --output-dir wheelhouse .


- Edit pyproject.toml and edit the cibuildwheel "skip" line to only build v3.12 of python.
- Commit your changes and delete and remake your tag
- Then build the macos wheels:
python -m cibuildwheel --output-dir wheelhouse .
# - Optionally deploy to testpypi:
# python -m twine upload --skip-existing --verbose -r testpypi wheelhouse/*
- Deploy to pypi:
python -m twine upload --skip-existing --verbose -r pypi -u __token__ -p
<pypi_access_token> wheelhouse/*

