mirror of https://github.com/ARMmbed/mbed-os.git
Always use the local version of workspace_tools
This ensures compatibility with the mbed-tools package.pull/135/head
parent
34a43eaa41
commit
e162e96245
|
@ -21,7 +21,7 @@ import datetime
|
|||
from time import time
|
||||
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from workspace_tools.build_api import build_project, build_mbed_libs
|
||||
from workspace_tools.tests import TEST_MAP, GROUPS
|
||||
|
|
|
@ -20,7 +20,7 @@ from os.path import join, abspath, dirname
|
|||
|
||||
# Be sure that the tools directory is in the search path
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from workspace_tools.build_api import build_mbed_libs
|
||||
from workspace_tools.targets import TARGET_MAP
|
||||
|
|
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||
import sys
|
||||
from os.path import join, abspath, dirname, exists
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from shutil import move
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ limitations under the License.
|
|||
import sys
|
||||
from os.path import join, abspath, dirname
|
||||
ROOT = abspath(join(dirname(__file__), "..", ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from workspace_tools.private_settings import LOCALHOST
|
||||
from SocketServer import BaseRequestHandler, TCPServer
|
||||
|
|
|
@ -25,7 +25,7 @@ from time import sleep
|
|||
|
||||
# Be sure that the tools directory is in the search path
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from workspace_tools.options import get_default_options_parser
|
||||
from workspace_tools.build_api import build_project
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import sys
|
||||
from os.path import join, abspath, dirname, exists
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from shutil import move
|
||||
from optparse import OptionParser
|
||||
|
|
|
@ -27,7 +27,7 @@ import json
|
|||
|
||||
# Be sure that the tools directory is in the search path
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from workspace_tools.utils import delete_dir_files
|
||||
from workspace_tools.settings import *
|
||||
|
|
|
@ -21,7 +21,7 @@ import csv
|
|||
from collections import defaultdict
|
||||
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from workspace_tools.paths import BUILD_DIR, TOOLS_DATA
|
||||
from workspace_tools.settings import GCC_ARM_PATH
|
||||
|
|
|
@ -29,7 +29,7 @@ import re
|
|||
import string
|
||||
|
||||
ROOT = abspath(join(dirname(__file__), ".."))
|
||||
sys.path.append(ROOT)
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
from workspace_tools.settings import MBED_ORG_PATH, MBED_ORG_USER, BUILD_DIR
|
||||
from workspace_tools.paths import LIB_DIR
|
||||
|
|
Loading…
Reference in New Issue