1# -*- coding: utf-8 -*- 2# Copyright 2019 The Chromium OS Authors. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6"""Consistent path includes that work across local-dev and portage package""" 7 8import sys 9import os 10 11this_dir = os.path.dirname(__file__) 12sys.path.insert(0, this_dir) 13# Portage path 14sys.path.insert(0, os.path.join(this_dir, '../../../config/python/')) 15# Local path 16sys.path.insert(0, os.path.join(this_dir, '../../../../../../config/python/')) 17