pyodide_build CLI

A command line interface (CLI) for pyodide_build

bin/pyodide [-h] {serve,mkpkg} ...

pyodide optional arguments

  • -h, --help - show this help message and exit

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

  • -h, --help - show this help message and exit

  • --build_dir BUILD_DIR - set the build directory (default: /home/docs/checkouts/readthedocs.org/user_builds/pyodide/checkouts/0.17.0/pyodide_build/../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] [--version VERSION] package

pyodide mkpkg positional arguments

  • package - The package name on PyPI (default: None)

pyodide mkpkg optional arguments

  • -h, --help - show this help message and exit

  • --update - Update existing package (default: False)

  • --version VERSION - Package version string, e.g. v1.2.1 (defaults to latest stable release)