def METHOD_NAME(self) -> str:
    conda_target_prefix = "/snap/${SNAPCRAFT_PROJECT_NAME}/current"
    deploy_cmd = [
        "CONDA_TARGET_PREFIX_OVERRIDE=" + conda_target_prefix,
        "conda",
        "create",
        "--prefix",
        "$SNAPCRAFT_PART_INSTALL",
        "--yes",
    ]
    if self.options.conda_python_version:
        deploy_cmd.append("python={}".format(self.options.conda_python_version))
    deploy_cmd.extend(self.options.conda_packages)
    return " ".join(deploy_cmd)