Skip to content

Commit

Permalink
Vendor file_packager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Sep 12, 2018
1 parent 88194ab commit 84f2f28
Show file tree
Hide file tree
Showing 3 changed files with 794 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PYODIDE_ROOT=$(abspath .)
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
CPYTHONLIB=$(CPYTHONROOT)/installs/python-$(PYVERSION)/lib/python$(PYMINOR)
Expand Down
2 changes: 1 addition & 1 deletion tools/buildpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def package_files(buildpath, srcpath, pkg, args):
install_prefix = (srcpath / 'install').resolve()
subprocess.run([
'python',
Path(os.environ['EMSCRIPTEN']) / 'tools' / 'file_packager.py',
Path(ROOTDIR) / 'file_packager.py',
name + '.data',
'--preload',
'{}@/'.format(install_prefix),
Expand Down
Loading

0 comments on commit 84f2f28

Please sign in to comment.