Skip to main content

PythonConfig

Index

Properties

packageManager

The package manager to use for installing dependencies and managing the virtual environment.

pip

Options for pip, when used as a package manager.

plugin

plugin: null | string

Location of the WASM plugin to use for Python support.

rootVenvOnly

rootVenvOnly: boolean

Assumes a workspace root virtual environment is used for dependencies. Can be used to support the "one version policy" pattern.

uv

uv: null | UvConfig

Options for uv, when used as a package manager.

optionalvenvName

venvName?: string = ```ts '.venv' ```

Defines the virtual environment name, which will be created in the workspace root. Project dependencies will be installed into this.

version

version: null | string

The version of Python to download, install, and run python tasks with.

@envvar

MOON_PYTHON_VERSION