# Path: abkhazia/utils/config.py
# class AbkhaziaConfig(object):
#     def default_config_file(name='abkhazia'):
#     def __init__(self, config_file=None):


import os
from abkhazia.utils import config
# Copyright 2016, 2017 Thomas Schatz, Xuan-Nga Cao, Mathieu Bernard
#
# This file is part of abkhazia: 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.
#
# Abkhazia 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 abkahzia. If not, see <http://www.gnu.org/licenses/>.
"""Python implementation of the share/path.sh Kaldi script"""



def kaldi_path():
    """Return an environment for running the abkhazia recipes"""
    env = os.environ

    env['LC_ALL'] = 'C'  # for expected sorting and joining behaviour


# Path: abkhazia/utils/config.py
# class AbkhaziaConfig(object):
#     def default_config_file(name='abkhazia'):
#     def __init__(self, config_file=None):


# Path: abkhazia/kaldi/path.py
import os
from abkhazia.utils import config

# Copyright 2016, 2017 Thomas Schatz, Xuan-Nga Cao, Mathieu Bernard
#
# This file is part of abkhazia: 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.
#
# Abkhazia 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 abkahzia. If not, see <http://www.gnu.org/licenses/>.
"""Python implementation of the share/path.sh Kaldi script"""



def kaldi_path():
    """Return an environment for running the abkhazia recipes"""
    env = os.environ

    env['LC_ALL'] = 'C'  # for expected sorting and joining behaviour


    kaldiroot = config.get('kaldi', 'kaldi-directory')