-
Notifications
You must be signed in to change notification settings - Fork 98
How to make a release
Eric Larson edited this page Sep 26, 2017
·
5 revisions
-
Update changelog.
-
Build the doc (
cd doc; make html_stable
), make sure all examples work. -
Change the version number in
__init__.py
, and push branch upstream. -
Add a tag (
git tag 0.5
). -
Commit the tag (
git push --tag
). -
Upload the doc to pysurfer website, which is the repo
github.com/PySurfer/pysurfer.github.com
. This should be something like:
cp -r _build/html_stable/* ../../pysurfer.github.com
cd ../../pysurfer.github.com
git add *
git add */*
git ci -m "sync with pysurfer/pysurfer/master"
git push origin master
-
Make release on PyPi:
python setup.py sdist
followed bypython setup.py sdist register upload
. -
Test
pip install
to make sure PyPi worked. -
Email freesurfer@nmr.mgh.harvard.edu and neuroimaging@python.org mailing lists with something like:
Dear All,
We are pleased to announce the 0.4 release of PySurfer, a Python-based package for visualizing Freesurfer data. This release includes bugfixes and multiple enhancements, including:
- Displaying data from both hemispheres simultaneously
- Displaying multiple views simultaneously
- Toggling Mayavi toolbars
- Using nibabel for IO functions
- A variety of minor improvements here and there
Please see our website (http://pysurfer.github.com/) for information on installation, documentation, and the example gallery.
We hope you find it useful in your research!
Eric Larson, Michael Waskom, Alexandre Gramfort, and the Nipy team