Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
2440491e
Commit
2440491e
authored
Jan 09, 2019
by
Ashutosh Sathe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicitly use python3 for pyodide_build
parent
8dbee7fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bin/pyodide
bin/pyodide
+2
-2
No files found.
bin/pyodide
View file @
2440491e
#!/bin/bash
#!/bin/bash
# get the absolute path to the root directory
# get the absolute path to the root directory
ROOTDIR
=
$(
python
-c
'import pathlib, sys; \
ROOTDIR
=
$(
python
3
-c
'import pathlib, sys; \
print(pathlib.Path(sys.argv[1]).resolve().parents[1])'
\
print(pathlib.Path(sys.argv[1]).resolve().parents[1])'
\
"
${
BASH_SOURCE
[0]
}
"
)
"
${
BASH_SOURCE
[0]
}
"
)
export
PYTHONPATH
=
"
${
PYTHONPATH
}
:
${
ROOTDIR
}
"
export
PYTHONPATH
=
"
${
PYTHONPATH
}
:
${
ROOTDIR
}
"
python
-m
pyodide_build
"
$@
"
python
3
-m
pyodide_build
"
$@
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment