diff options
author | Max Drosdo.www <g1ran1q@gmail.com> | 2020-08-22 05:36:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 22:36:44 -0400 |
commit | 73288beb156e378342f2651cbefd0660b43cef17 (patch) | |
tree | 2afe36cbcc71a7051723ec9c85ae0bd12c0e7863 | |
parent | d444bd89dbc696b2510438be5e9119c7ac539766 (diff) |
Remove old references to libdeno (#7149)
-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") |