Skip to content

Tools to pack a conda / mamba environment into a JS & WASM bundle

License

Notifications You must be signed in to change notification settings

emscripten-forge/empack

Repository files navigation

empack

Pack a mamba environment with emsdk

Installation

mamba install empack -c conda-forge

or with pip:

pip install empack

Usage

You can pack the environment (located at /path/to/env) with the following command:

empack pack env --env-prefix /path/to/env

This will generate a few .tag.gz files that correspond to the packages in the environment located at /path/to/env.

You can also provide a custom config with the --config flag. A sample config is located in tests/empack_test_config.yaml

Run the following command for more information about the other CLI parameters:

empack pack env --help