Skip to content
F-G Fernandez edited this page Mar 24, 2020 · 1 revision

Welcome to the Torchcam wiki!

Maintainer notes

Release process

  • Create a release on Github
  • Pull the latest version of master
  • Edit locally your setup.py with version
  • Then build the wheel and upload to pypi using:
rm -r dist/*
BUILD_VERSION='X.Y.Z' python setup.py sdist bdist_wheel
twine upload dist/*
  • Then build the conda package and upload to anaconda:
conda build purge
conda build purge-all
rm -rf conda-dist/
BUILD_VERSION='X.Y.Z' python setup.py sdist
mkdir conda-dist
conda-build ./conda/ -c pytorch --output-folder conda-dist
ls -l conda-dist/noarch/*tar.bz2

anaconda upload conda-dist/noarch/*tar.bz2 -u frgfm
Clone this wiki locally