pyodide-build CLI
pyodide-build CLI#
A command line interface (CLI) for pyodide_build
pyodide-build [-h] {serve,mkpkg} ...
pyodide serve#
Start a server with the supplied build_dir and port.
pyodide serve [-h] [--build_dir BUILD_DIR] [--port PORT]
pyodide serve optional arguments#
--build_dir
BUILD_DIR
- set the build directory (default:/home/docs/checkouts/readthedocs.org/user_builds/pyodide/checkouts/0.19.1/build
)--port
PORT
- set the PORT number (default:8000
)
pyodide mkpkg#
Make a new pyodide package. Creates a simple template that will work for most pure Python packages, but will have to be edited for more complex things.
pyodide mkpkg [-h] [--update] [--update-if-not-patched] [--version VERSION] package
pyodide mkpkg optional arguments#
--update
- Update existing package (default:False
)--update-if-not-patched
- Update existing package if it has no patches (default:False
)--version
VERSION
- Package version string, e.g. v1.2.1 (defaults to latest stable release)