Skip to main content

PythonConfig

Index

Properties

pip

pip: null | PipConfig

Options for pip, when used as a package manager.

plugin

plugin: null | string

Location of the WASM plugin to use for Python support.

optionalrootRequirementsOnly

rootRequirementsOnly?: boolean = ```ts true ```

Assumes only the root requirements.txt is used for dependencies. Can be used to support the "one version policy" pattern.

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