def get_glib_sysconf_dirs():
 if is_win:
  return [os.path.join(get_gi_libdir('GLib', '2.0'), 'etc')]
 statement = "\n        import gi\n        gi.require_version('GLib', '2.0')\n        from gi.repository import GLib\n        print(GLib.get_system_config_dirs())\n    "
 data_dirs = eval_statement(statement)
 if (not data_dirs):
  logger.error("gi repository 'GIRepository 2.0' not found. Please make sure libgirepository-gir2.0 resp. lib64girepository-gir2.0 is installed.")
 return data_dirs

def get_glib_sysconf_dirs ( ) : if is_win : return [ os . path . join ( get_gi_libdir ( 'GLib' , '2.0' ) , 'etc' ) ] statement = "\n        import gi\n        gi.require_version('GLib', '2.0')\n        from gi.repository import GLib\n        print(GLib.get_system_config_dirs())\n    " data_dirs = eval_statement ( statement ) if ( not data_dirs ) : logger . error ( "gi repository 'GIRepository 2.0' not found. Please make sure libgirepository-gir2.0 resp. lib64girepository-gir2.0 is installed." ) return data_dirs
try to return the sysconf directories .