From 97f2e0f1980d5601f3af3246311bcb2561375f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Tue, 10 Jun 2025 16:56:31 +0200 Subject: [PATCH] [core] plugins: Add `ProcessEnvType` enum class --- meshroom/core/plugins.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meshroom/core/plugins.py b/meshroom/core/plugins.py index c7bb1cdb..d3222635 100644 --- a/meshroom/core/plugins.py +++ b/meshroom/core/plugins.py @@ -46,6 +46,14 @@ def validateNodeDesc(nodeDesc: desc.Node) -> list: return errors +class ProcessEnvType(Enum): + """ Supported process environments. """ + DEFAULT = "default", + CONDA = "conda", + VIRTUALENV = "virtualenv", + REZ = "rez" + + class ProcessEnv(BaseObject): """ Describes the environment required by a node's process.