cmake cache values
Python_VERSION_NUMBER 3.7

cmake targets:

  all = package + doc
  lint
  sanitize
  install =  python -m pip install -q --prefix ${CMAKE_INSTALL_PREFIX} ${WHEEL}
    installs to lib/python3.10/site-packages/geographiclib

  stage-doc
  stage-dist
  deploy-doc      -- upload to sourceforge
  deploy-dist     -- upload packages to sourceforge
  deploy-package  -- upload packages to pypi

https://pypi.org/project/geographiclib

Version update checks
  CMakeLists.txt verson + date, change log + date in doc/package.rst
  remove devel versions from distrib-Python
  make all test lint sanitize
  make stage-{doc,dist}
  make deploy-{doc,dist}
  make deploy-package

https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-your-project-to-pypi

python release -- authentication via ~/.pypirc
PIP maintenance
  python -m pip install --upgrade build
  python -m pip install --upgrade twine
  python -m pip install --upgrade sphinx
  python -m pip install --upgrade sdist
  python -m pip install --upgrade setuptools

build invoked by make package
twine invoked by make deploy-package

After release check conda-forge build
conda-forge maintainers:
https://github.com/ocefpaf
https://github.com/QuLogic
https://github.com/beckermr

Fedora maintainers:
  Rich Mattes <richmattes@gmail.com>

Debian + Ubuntu maintainers:
  Bas Couwenberg
  Francesco Paolo Lovergine

conda-forge: https://anaconda.org/conda-forge/geographiclib

conda-forge... (copied from geographiclib-cpp-feedstock)

  geographiclib-feedstock
  git pull
  edit README.md recipe/meta.yaml
  reset build number in meta.yaml to 0
  needs patch file to ...
  conda remove -y -n build --all
  conda create -y -n build
  conda activate build
  conda install -y conda-build conda-verify conda-forge-pinning

  in top level directory...
  conda build recipe --variant-config-file $CONDA_PREFIX/conda_build_config.yaml
  Package in ~/miniconda3/envs/build/conda-bld/linux-64/geographiclib-$VERSION-*.tar.bz2

  conda deactivate
  conda remove -y -n geog-test --all
  conda create -y -n geog-test ~/miniconda3/envs/build/conda-bld/linux-64/geographiclib-$VERSION-*.tar.bz2
  conda activate geog-test
  type GeoConvert
  GeoConvert --version

  git checkout -b v$VERSION
  commit changes
  conda deactivate
  conda activate build
  conda install -y -c conda-forge conda-smithy
  conda smithy rerender
  commit changes with git commit -m "MNT: Re-rendered with conda-build...
  git push --set-upstream cffk v$VERSION
  conda deactivate
