version = '0.6.0'
release=True

if not release:
    import os
    version += '.dev'
    svn_version_file = os.path.join(os.path.dirname(__file__),
                                    '__svn_version__.py')

    if os.path.isfile(svn_version_file):
        import imp
        svn = imp.load_module('scipy.__svn_version__',
                              open(svn_version_file),
                              svn_version_file,
                              ('.py','U',1))
        version += svn.version
