File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -129,8 +129,9 @@ dmypy.json
129
129
# Pyre type checker
130
130
.pyre /
131
131
132
- # PyCharm
132
+ # Editors / IDEs
133
133
.idea /
134
+ .vscode /
134
135
135
136
# Git mergetool backup
136
137
* .orig
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ def imageToRGB565LE(image: Image):
196
196
rgb565 = (r << 11 ) | (g << 5 ) | b
197
197
198
198
# serialize to little-endian
199
- return rgb565 .newbyteorder ('<' ).tobytes ()
199
+ return rgb565 .astype ('<u2 ' ).tobytes ()
200
200
201
201
def DisplayPILImage (
202
202
self ,
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ uptime~=3.0.1 # For System Uptime
12
12
13
13
# Efficient image serialization
14
14
numpy ~= 1.24.4 ; python_version < "3.9" # For Python 3.8 max.
15
- numpy ~= 1.26.4 ; python_version >= "3.9" # For Python 3.9+
15
+ numpy ~= 2.0.0 ; python_version == "3.9" # For Python 3.9, only numpy 2.0.x is supported as 2.1 only supports Python >=3.10
16
+ numpy ~= 2.0 ; python_version >= "3.10" # For Python >=3.10, any numpy 2.x is fine
16
17
17
18
# For Nvidia GPU on all platforms
18
19
GPUtil ~= 1.4.0 ; python_version < "3.12"
You can’t perform that action at this time.
0 commit comments