# solfege/buildinfo.py.  Generated from buildinfo.py.in by configure.
#
# GNU Solfege - free ear training software
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006  Tom Cato Amundsen
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

from solfege._version import version_info

VERSION_STRING = '3.23.4'
REVISION_ID = 'ecd97c37900a30168751862412e696ee090277d3'
HAVE_LINUX_AWE_VOICE_H = "@HAVE_LINUX_AWE_VOICE_H@" == "yes"
ENABLE_TUNER = "no" == "yes"
prefix = "/usr/pkg"

def is_release():
    """
    Return True if we are a official release, either devel or stable.
    Return False if we are running from a bzr branch.
    """
    return (version_info['git_sha'] == REVISION_ID and
            'git-checkout' not in VERSION_STRING)

