diff options
-rw-r--r-- | tools/third_party.py | 4 | ||||
-rw-r--r-- | tools/util.py | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/tools/third_party.py b/tools/third_party.py index a506fd661..e8ab5043c 100644 --- a/tools/third_party.py +++ b/tools/third_party.py @@ -7,7 +7,7 @@ import re import site import sys from tempfile import mkdtemp -from util import add_env_path, executable_suffix, libdeno_path, make_env, rmtree +from util import add_env_path, executable_suffix, make_env, rmtree from util import root_path, run, third_party_path depot_tools_path = os.path.join(third_party_path, "depot_tools") @@ -31,8 +31,6 @@ def python_env(env=None, merge_env=None): python_site_env = {} temp = os.environ["PATH"], sys.path os.environ["PATH"], sys.path = "", [] - site.addsitedir(os.path.join(libdeno_path, - "build")) # Modifies PATH and sys.path. site.addsitedir(python_packages_path) # Modifies PATH and sys.path. python_site_env = {"PATH": os.environ["PATH"], "PYTHONPATH": sys.path} os.environ["PATH"], sys.path = temp diff --git a/tools/util.py b/tools/util.py index e5dcaccce..889afae82 100644 --- a/tools/util.py +++ b/tools/util.py @@ -20,7 +20,6 @@ else: executable_suffix = ".exe" if os.name == "nt" else "" root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) -libdeno_path = os.path.join(root_path, "core", "libdeno") tests_path = os.path.join(root_path, "cli/tests") third_party_path = os.path.join(root_path, "third_party") |