Commit 84f2f282 authored by Michael Droettboom's avatar Michael Droettboom

Vendor file_packager.py

parent 88194ab2
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)
......
......@@ -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),
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment