-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python plugins: fix linux platform check
- Loading branch information
Koushik Dutta
authored and
Koushik Dutta
committed
May 4, 2024
1 parent
8e63dcd
commit 905a9ae
Showing
4 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
# plugin | ||
numpy>=1.16.2 | ||
# pillow for anything not intel linux | ||
Pillow>=5.4.1; sys_platform != 'linux' or platform_machine != 'x86_64' | ||
pillow-simd; sys_platform == 'linux' and platform_machine == 'x86_64' | ||
|
||
imutils>=0.5.0 | ||
# opencv-python is not available on armhf | ||
|
||
# locked to version because 4.8.0.76 is broken. | ||
opencv-python==4.8.0.74; sys_platform != 'linux' or platform_machine == 'x86_64' or platform_machine == 'aarch64' | ||
# todo: check newer versions. | ||
opencv-python==4.8.0.74 | ||
|
||
# pillow-simd is available on x64 linux | ||
# pillow-simd confirmed not building with arm64 linux or apple silicon | ||
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters