-
Notifications
You must be signed in to change notification settings - Fork 559
Deploy instructions
Geoff Pleiss edited this page Apr 24, 2020
·
15 revisions
- Edit
gpytorch/__init__.py
and bump up the version number (e.g.0.1.0.rc3
) - If necessary: update the minimum PyTorch version:
- In setup.py
- In
.conda/meta.yaml
- Commit the bumped version number + updated dependencies to master
- Create a tag with the release name and push it (e.g.
git tag 0.1.0.rc3 && git push origin 0.1.0.rc3
) - On Github, update the new release with some release notes. Include major new features and bug fixes.
- Locally create a packaged version (
python setup.py sdist
) - Upload the latest package to PyPI (
twine upload dist/gpytorch-<version_number>.tar.gz
)
- Make sure you have
conda-build
installed:conda install conda-build
- Let the meta.yaml file know about the pytorch channel
conda config --append channels pytorch
- Change in to the
.conda
directory:cd .conda
- Run
conda-build .
in the.conda
directory - Upload the latest package to Anaconda Cloud using the command printed out at the end of
conda-build
.