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
84f2f282
Commit
84f2f282
authored
Sep 12, 2018
by
Michael Droettboom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vendor file_packager.py
parent
88194ab2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
794 additions
and
2 deletions
+794
-2
Makefile
Makefile
+1
-1
tools/buildpkg.py
tools/buildpkg.py
+1
-1
tools/file_packager.py
tools/file_packager.py
+792
-0
No files found.
Makefile
View file @
84f2f282
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 @
84f2f282
...
@@ -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 @
84f2f282
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