You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
467 B
13 lines
467 B
# Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file |
|
# for details. All rights reserved. Use of this source code is governed by a |
|
# BSD-style license that can be found in the LICENSE file. |
|
|
|
import imp |
|
import os |
|
|
|
TOOLS_DIR = os.path.abspath( |
|
os.path.normpath(os.path.join(__file__, '..', '..'))) |
|
|
|
def GetUtils(): |
|
'''Dynamically load the tools/utils.py python module.''' |
|
return imp.load_source('utils', os.path.join(TOOLS_DIR, 'utils.py'))
|
|
|