python plugins: fix linux platform check

This commit is contained in:
Koushik Dutta
2024-05-03 21:58:35 -07:00
parent 8e63dcdb15
commit 905a9aec21
4 changed files with 17 additions and 12 deletions

View File

@@ -5,5 +5,5 @@ av>=10.0.0
# in case pyvips fails to load, use a pillow fallback.
# pillow for anything not intel linux, pillow-simd is available on x64 linux
Pillow>=5.4.1; sys_platform != 'linux' or platform_machine != 'x86_64'
pillow-simd; sys_platform == 'linux' and platform_machine == 'x86_64'
Pillow>=5.4.1; 'linux' not in sys_platform or platform_machine != 'x86_64'
pillow-simd; 'linux' in sys_platform and platform_machine == 'x86_64'