Skip to content

Ensure emscripten root is at the start of python path #22230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/benchmark/benchmark_sse.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from subprocess import Popen

__rootpath__ = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(__rootpath__)
sys.path.insert(0, __rootpath__)

from tools.shared import WINDOWS, CLANG_CXX, EMCC, PIPE
from tools.shared import run_process
Expand Down
2 changes: 1 addition & 1 deletion test/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# Setup

__rootpath__ = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(__rootpath__)
sys.path.insert(0, __rootpath__)

import jsrun
import parallel_testsuite
Expand Down
2 changes: 1 addition & 1 deletion tools/maint/check_struct_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
script_dir = os.path.dirname(os.path.abspath(__file__))
root_dir = os.path.dirname(os.path.dirname(script_dir))

sys.path.append(root_dir)
sys.path.insert(0, root_dir)

from tools import utils

Expand Down
2 changes: 1 addition & 1 deletion tools/maint/create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
script_dir = os.path.dirname(os.path.abspath(__file__))
root_dir = os.path.dirname(os.path.dirname(script_dir))

sys.path.append(root_dir)
sys.path.insert(0, root_dir)
from tools import shared, utils


Expand Down
2 changes: 1 addition & 1 deletion tools/maint/update_settings_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
script_dir = os.path.dirname(os.path.abspath(__file__))
root_dir = os.path.dirname(os.path.dirname(script_dir))

sys.path.append(root_dir)
sys.path.insert(0, root_dir)

from tools.utils import path_from_root, read_file, safe_ensure_dirs

Expand Down
Loading