From fa5ce108b2cb2103c25eaa2652a764d298864af6 Mon Sep 17 00:00:00 2001 From: doctorpangloss <@hiddenswitch.com> Date: Thu, 17 Jul 2025 13:17:05 -0700 Subject: [PATCH] headless should only be used on linux --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9fc569911..5e8dd6093 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,8 @@ dependencies = [ "jsonmerge>=1.9.0", "clean-fid>=0.1.35", "resize-right>=0.0.2", - "opencv-python-headless>=4.9.0.80", + "opencv-python-headless>=4.9.0.80; sys_platform == 'linux'", + "opencv-python>=4.9.0.80; sys_platform == 'win32' or sys_platform == 'darwin'", "albumentations>=1.3.0", "aiofiles>=23.1.0", "frozendict>=2.3.6",