Skip to main content

PartialPythonConfig

Index

Properties

optionalpip

pip?: null | PartialPipConfig

Options for pip, when used as a package manager.

optionalplugin

plugin?: null | string

Location of the WASM plugin to use for Python support.

optionalrootRequirementsOnly

rootRequirementsOnly?: null | boolean = null | boolean

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

optionalvenvName

venvName?: null | string = null | string

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

optionalversion

version?: null | string

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

@envvar

MOON_PYTHON_VERSION