5.3.1.21.11.2. cli.helpers.host_platform.get_platform_prefix

cli.helpers.host_platform.get_platform_prefix(platform: str = 'win32') → Path

Return the installation prefix for a supported platform.

Parameters:

platform – The name of the platform, either ‘linux’ or ‘win32’.

Returns:

The installation prefix as a Path object.

Raises:

NotImplementedError – If the platform is unsupported.