mirror of
https://github.com/denoland/deno.git
synced 2025-01-05 05:49:20 -05:00
Remove old references to libdeno (#7149)
This commit is contained in:
parent
d444bd89db
commit
73288beb15
2 changed files with 1 additions and 4 deletions
|
@ -7,7 +7,7 @@ import re
|
||||||
import site
|
import site
|
||||||
import sys
|
import sys
|
||||||
from tempfile import mkdtemp
|
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
|
from util import root_path, run, third_party_path
|
||||||
|
|
||||||
depot_tools_path = os.path.join(third_party_path, "depot_tools")
|
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 = {}
|
python_site_env = {}
|
||||||
temp = os.environ["PATH"], sys.path
|
temp = os.environ["PATH"], sys.path
|
||||||
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.
|
site.addsitedir(python_packages_path) # Modifies PATH and sys.path.
|
||||||
python_site_env = {"PATH": os.environ["PATH"], "PYTHONPATH": sys.path}
|
python_site_env = {"PATH": os.environ["PATH"], "PYTHONPATH": sys.path}
|
||||||
os.environ["PATH"], sys.path = temp
|
os.environ["PATH"], sys.path = temp
|
||||||
|
|
|
@ -20,7 +20,6 @@ else:
|
||||||
executable_suffix = ".exe" if os.name == "nt" else ""
|
executable_suffix = ".exe" if os.name == "nt" else ""
|
||||||
|
|
||||||
root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
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")
|
tests_path = os.path.join(root_path, "cli/tests")
|
||||||
third_party_path = os.path.join(root_path, "third_party")
|
third_party_path = os.path.join(root_path, "third_party")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue