Skip to content

Commit f040e0d

Browse files
committed
drop python3.7 support
1 parent aaf032e commit f040e0d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

zbl_py/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "zbl"
33
description = "real-time window capture library based on D3D11 and Windows.Graphics.Capture"
44
version = "0.6.0"
55
readme = "../README.md"
6-
requires-python = ">=3.7"
6+
requires-python = ">=3.8"
77
license = { file = "../LICENSE.txt" }
88
keywords = ["windows", "d3d11", "window-capture", "graphics-capture", "cv"]
99
dependencies = ["numpy"]
@@ -12,7 +12,6 @@ classifiers = [
1212
"Programming Language :: Rust",
1313
"Programming Language :: Python",
1414
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3.7",
1615
"Programming Language :: Python :: 3.8",
1716
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",

zbl_py/zbl/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def frame_to_numpy_array(frame: Frame) -> numpy.ndarray:
2020
if frame.row_pitch == frame.width * 4:
2121
return arr.reshape(frame.height, frame.width, 4)
2222
else:
23-
# TODO copy to avoid slow access?
2423
return arr[:, : frame.width * 4].reshape((frame.height, frame.width, 4))
2524

2625

0 commit comments

Comments
 (0)