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
2117ff2f
Commit
2117ff2f
authored
Sep 12, 2018
by
Michael Droettboom
Committed by
GitHub
Sep 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #161 from mdboom/vendor-file-packager
Vendor file_packager.py
parents
9ee69d18
a028a86d
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
797 additions
and
2 deletions
+797
-2
Makefile
Makefile
+1
-1
tools/buildpkg.py
tools/buildpkg.py
+1
-1
tools/file_packager.py
tools/file_packager.py
+795
-0
No files found.
Makefile
View file @
2117ff2f
PYODIDE_ROOT
=
$(
abspath
.
)
PYODIDE_ROOT
=
$(
abspath
.
)
include
Makefile.envs
include
Makefile.envs
FILEPACKAGER
=
$(PYODIDE_ROOT)
/
emsdk/emsdk/emscripten/tag-1.38.10/
tools/file_packager.py
FILEPACKAGER
=
$(PYODIDE_ROOT)
/tools/file_packager.py
CPYTHONROOT
=
cpython
CPYTHONROOT
=
cpython
CPYTHONLIB
=
$(CPYTHONROOT)
/installs/python-
$(PYVERSION)
/lib/python
$(PYMINOR)
CPYTHONLIB
=
$(CPYTHONROOT)
/installs/python-
$(PYVERSION)
/lib/python
$(PYMINOR)
...
...
tools/buildpkg.py
View file @
2117ff2f
...
@@ -124,7 +124,7 @@ def package_files(buildpath, srcpath, pkg, args):
...
@@ -124,7 +124,7 @@ def package_files(buildpath, srcpath, pkg, args):
install_prefix
=
(
srcpath
/
'install'
).
resolve
()
install_prefix
=
(
srcpath
/
'install'
).
resolve
()
subprocess
.
run
([
subprocess
.
run
([
'python'
,
'python'
,
Path
(
os
.
environ
[
'EMSCRIPTEN'
])
/
'tools'
/
'file_packager.py'
,
Path
(
ROOTDIR
)
/
'file_packager.py'
,
name
+
'.data'
,
name
+
'.data'
,
'--preload'
,
'--preload'
,
'{}@/'
.
format
(
install_prefix
),
'{}@/'
.
format
(
install_prefix
),
...
...
tools/file_packager.py
0 → 100644
View file @
2117ff2f
This diff is collapsed.
Click to expand it.
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