| Author: | Francesc Alted |
|---|---|
| Contact: | faltet@blosc.io |
| Date: | 2014-07-20 |
- Make sure that
RELEASE_NOTES.rstandANNOUNCE.rstare up to date with the latest news in the release. - Check that
VERSIONfile contains the correct number. - Once a year: check that the copyright in
LICENSES/BCOLZ.txtanddoc/conf.py.
After compiling, run:
$ PYTHONPATH=. (or "set PYTHONPATH=." on Win) $ export PYTHONPATH=. (not needed on Win) $ python -c "import bcolz; bcolz.test(heavy=True)"
Run the test suite in different platforms (at least Linux and Windows) and make sure that all tests passes.
Note
This instructions are currently out-of-date and are to be considered under construction.
Go to the doc directory:
$ cd doc
Make sure that the
version/releasevariables are updated inconf.py.Make the html version of the docs:
$ rm -rf _build/html $ make html
Make a backup and upload the files in the doc site (xodo):
$ export UPSTREAM="/home/blosc/srv/www/bcolz.blosc.org" $ ssh blosc@xodo.blosc.org "mv $UPSTREAM/docs/html $UPSTREAM/docs/html.bck" $ scp -r _build/html blosc@xodo.blosc.org:$UPSTREAM/docs
Check that the new manual is accessible in http://bcolz.blosc.org
If everything is fine, remove the backup of the previous manual:
$ ssh blosc@xodo.blosc.org "rm -r $UPSTREAM/docs/html.bck"
Go up to the root directory for further proceeding with packaging:
$ cd ..
Check that all Cython generated
*.cfiles are present.Make the tarball with the command:
$ python setup.py sdist
Do a quick check that the tarball is sane.
Upload it also in the PyPi repository:
$ python setup.py sdist upload
Create a tag
X.Y.Zfrommaster. Use the next message:$ git tag -a vX.Y.Z -m "Tagging version X.Y.Z"
Or, alternatively, make a signed tag (requires gpg correctly configured):
$ git tag -s vX.Y.Z -m "Tagging version X.Y.Z"
Push the tag to the Github repo (assuming
originis correct):$ git push origin vX.Y.Z
- Send an announcement to the bcolz, blosc, numpy, pandas and
python-announce lists. Use the
ANNOUNCE.rstfile as skeleton (or possibly as the definitive version). - Tweet about the new release and enjoy!
Edit
VERSIONin master to increment the version to the next minor one (i.e. X.Y.Z --> X.Y.(Z+1).dev).Also, update the
versionandreleasevariables in doc/conf.py.Create new headers for adding new features in
RELEASE_NOTES.rstand empty the release-specific information inANNOUNCE.rstand add this place-holder instead:#XXX version-specific blurb XXX#
That's all folks!