Pack a mamba environment with emsdk
mamba install empack -c conda-forgeor with pip:
pip install empackYou can pack the environment (located at /path/to/env) with the following command:
empack pack env --env-prefix /path/to/env --outname python_data --config /path/to/config.yamlThis will generate two files python_data.js and python_data.data that you can use in the browser.
A sample config is located in tests/empack_test_config.yaml
