Permalink
Fetching contributors…
Cannot retrieve contributors at this time
72 lines (62 sloc) 2.74 KB
Instrucctions for releasing a new version of carray
===================================================
- Verify that the version number is correct in ``VERSION``
as well as in ``ANNOUCE.txt`` and ``doc/conf.py``.
- Make sure that ``ANNOUNCE.txt`` and ``RELEASE-NOTES.txt``
do contain the most relevant notes for the release.
- Generate a tarball of the version to release:
+ $ cd /tmp
+ $ git clone git://github.com/FrancescAlted/carray.git
+ $ cd carray
+ $ paver sdist
+ $ export VERSION="x.y.z" # x.y.z is the version to release
+ $ mv doc/carray-manual.pdf ../carray-manual-$VERSION.pdf
+ $ mv dist/carray-$VERSION.tar.gz ..
+ $ cd ..
+ $ tar xvfz carray-$VERSION.tar.gz
+ $ tar cvfz carray-manual-$VERSION-html.tar.gz carray-$VERSION/doc/html/
- Generate binaries for Windows
+ Generate for Python 2.6 and 2.7 (using MSVC 2008 and distutils)
+ *Test* Windows packages
+ Put the resulting .exe in the same directory than the tarball and docs
- Upload the next packages in the download area
+ $ scp carray-$VERSION.tar.gz carray-manual* xano.pytables.com:/tmp
+ Logar-in in xano as user carray
+ Go to download area:
$ cd ~/srv/www/carray.org/download
+ Create another directory for the new version and copy the files there:
$ export VERSION="x.y.z" # x.y.z is the version to release
$ mkdir carray-$VERSION
$ cd carray-$VERSION
$ cp /tmp/carray-$VERSION.tar.gz /tmp/carray-manual* /tmp/carray*.exe .
+ Compute and save the MD5 of new files:
$ cfv -C -t md5 -f carray-$VERSION.md5 *
+ Point the 'stable' the symbolic link to the new version
$ cd ..
$ rm stable; ln -s carray-$VERSION stable
Check that the new packages are accessible at:
http://carray.pytables.org/download/carray-$VERSION/
- Update on-line HTML manual
$ cd ~/srv/www/carray.org/docs
$ tar xvfz ../download/carray-$VERSION/carray-manual-$VERSION-html.tar.gz
$ mv carray-$VERSION/doc/html manual-$VERSION
$ rmdir carray-$VERSION/doc ; rmdir carray-$VERSION
$ rm manual; ln -sf manual-$VERSION manual
Check that the manual is accessible at:
http://carray.pytables.org/docs/manual/
- Add the 'RELEASE_NOTES' to::
https://github.com/FrancescAlted/carray/wiki/Release-$VERSION
- Announcing
+ Register the new package in PyPI::
$ paver register
+ Announce to carray@googlegroups.com with copy to pytables-users
+ Wait about 24 hours to give time to people there to test the package
+ If everything goes well, do the post-release actions ("post-release.txt")
+ Do a more general annoucement to:
- numpy-discussion@scipy.org (with copy to scipy-user@scipy.org)
- python-announce@python.org
(remember to put a prefix ANN: in the mail subject).
.. Local Variables:
.. mode: rst
.. coding: utf-8
.. End: