release_sinspect


SinSPECt release notes

Specify the version in the next cell, e.g. '0.1', '0.3rc1', '1.0'


In [ ]:
version = '0.4'
This notebook assumes a directory structure of SinSPECt_parent |_SinSPECt (i.e. source) | |_app.py | |_README.rst | |_Other_directories

In [ ]:
cd C:\Users\gary\VeRSI\NeCTAR_AS_SXR_tool\SinSPECt

In [ ]:
BASE = r'C:\Users\gary\VeRSI\NeCTAR_AS_SXR_tool\SinSPECt'

In [ ]:
cd $BASE

Manually update the README.rst Version History, which is currently


In [ ]:
s = open('README.rst').read()
print s[s.find('Version History'):]

Verify that Copyright messages in the LICENSE file and .py files have the current year. Here I use Enthought's grin, which is basically grep, since I know it's available as part of EPD on all platforms.


In [ ]:
!grin -i "copyright.*\d\d\d\d" LICENSE *.py docs/conf.py

Update the documentation version by updating the 'version' and 'release' strings in docs/conf.py Currently these are


In [ ]:
cd $BASE\docs

In [ ]:
import conf
print 'version:', conf.version, ', release:', conf.release

Update __version__ string in app.py. Currently this is


In [ ]:
cd $BASE

In [ ]:
import app
print app.__version__
Next: Final run of unit tests/nose tests Package versions on Windows and Mac: Windows (We use innotools for packaging) Update install_scripts/sinspect.iss: Add any new source files to the [Files] section Update AppVersion in the [Setup] section Compile the installer

Currently this is

Mac OSX Update version in Platypus packager [Platypus | http://sveinbjorn.org/platypus] Wrap SinSPECt in an application bundle using Platypus


In [ ]:
cd $BASE\install_scripts

In [ ]:
from IPython.display import Image
Image(filename='ipynb_images/Screen Shot 2013-02-21 at 12.34.40 PM.png')
Mac OSX Update version in Platypus packager [Platypus | http://sveinbjorn.org/platypus] Wrap SinSPECt in an application bundle using Platypus Build an installer using mac Installer/PackageMaker:

In [ ]:
Image(filename='ipynb_images/Screen Shot 2013-02-21 at 12.34.46 PM.png')
Commit these changes: $ git tag -a message - Announce new version availability Change version on synchrotron program landing page Upload the new installer and zip file versions to the synchrotron website for download