Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to disable file_packager stage ? #60

Open
pmp-p opened this issue Jan 28, 2022 · 0 comments
Open

option to disable file_packager stage ? #60

pmp-p opened this issue Jan 28, 2022 · 0 comments

Comments

@pmp-p
Copy link
Contributor

pmp-p commented Jan 28, 2022

Maybe the right place to ask is https://bugs.python.org/issue40280, but is there a option to disable the emscripten file packaging stage ( but not filesysem support )?
Because when using external compressed filesystem like e.g. those BrowserFS provides, it builds a bigger .data than the minimum wanted.

i think --preload-file comes from here https://github.com/python/cpython/blob/c27a33132be101e246ae2584f1826477357138d6/Makefile.pre.in#L92 originating from https://github.com/python/cpython/blob/ffa505b580464d9d90c29e69bd4db8c52275280a/configure.ac#L1845

maybe ideally the .data should only contains importlib and coldstart requirements, so the stdlib big chunk download can be defered, or handled by a third party. see pyodide/pyodide#646 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant