7a0e839
from __future__ import (absolute_import, division, print_function)
7a0e839
7a0e839
import os
7a0e839
7a0e839
7a0e839
def update_config(conf):
7a0e839
    # This works when installed and when in buildroot.
7a0e839
    conf['pre_existing_data_dir'] = os.path.join(os.path.dirname(__file__),
7a0e839
                                                 '../../../../share/cartopy')