Skip to content

option to disable file_packager stage ? #60

Description

@pmp-p

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions