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
71e495e2
Commit
71e495e2
authored
Sep 24, 2018
by
Roman Yurchak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Path.resolve() to get the absolute path of bin/pyodide
parent
22e99f12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
bin/pyodide
bin/pyodide
+2
-3
No files found.
bin/pyodide
View file @
71e495e2
#!/bin/sh
set
-x
ls
-l
/bin/sh
# get the absolute path to the root directory
ROOTDIR
=
"
$(
cd
${
BASH_SOURCE
%/*
}
/../
;
pwd
)
"
;
ROOTDIR
=
$(
python
-c
'import pathlib, sys; print(pathlib.Path(sys.argv[1]).resolve().parent)'
\
"
${
BASH_SOURCE
[0]
}
"
)
export
PYTHONPATH
=
"
${
PYTHONPATH
}
:
${
ROOTDIR
}
"
python
-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