Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ include LICENSE
include pyproject.toml
include scenedetect.cfg
include packaging/package-info.rst
include scenedetect/py.typed
recursive-include docs *
4 changes: 4 additions & 0 deletions packaging/variants/pyproject-scenedetect-headless.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ classifiers = [
"Topic :: Multimedia :: Video :: Conversion",
"Topic :: Multimedia :: Video :: Non-Linear Editor",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
# click 8.3.0 specifically is excluded per https://scenedetect.com/issues/521; 8.3.1+ are fine.
Expand Down Expand Up @@ -78,5 +79,8 @@ include-package-data = true
[tool.setuptools.packages.find]
include = ["scenedetect*"]

[tool.setuptools.package-data]
scenedetect = ["py.typed"]

[tool.setuptools.dynamic]
version = { attr = "scenedetect.__version__" }
4 changes: 4 additions & 0 deletions packaging/variants/pyproject-scenedetect.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ classifiers = [
"Topic :: Multimedia :: Video :: Conversion",
"Topic :: Multimedia :: Video :: Non-Linear Editor",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
# click 8.3.0 specifically is excluded per https://scenedetect.com/issues/521; 8.3.1+ are fine.
Expand Down Expand Up @@ -77,5 +78,8 @@ include-package-data = true
[tool.setuptools.packages.find]
include = ["scenedetect*"]

[tool.setuptools.package-data]
scenedetect = ["py.typed"]

[tool.setuptools.dynamic]
version = { attr = "scenedetect.__version__" }
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ classifiers = [
"Topic :: Multimedia :: Video :: Conversion",
"Topic :: Multimedia :: Video :: Non-Linear Editor",
"Topic :: Utilities",
"Typing :: Typed",
]
# This root config is the `scenedetect` package (opencv-python, the CLI dependencies and
# the `scenedetect` console script) and is what `pip install -e .[dev]` installs for
Expand Down Expand Up @@ -84,6 +85,9 @@ include-package-data = true
[tool.setuptools.packages.find]
include = ["scenedetect*"]

[tool.setuptools.package-data]
scenedetect = ["py.typed"]

[tool.setuptools.dynamic]
version = { attr = "scenedetect.__version__" }

Expand Down
2 changes: 1 addition & 1 deletion scenedetect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
)
from scenedetect.stats_manager import StatsManager as StatsManager
from scenedetect.stats_manager import StatsFileCorrupt as StatsFileCorrupt
from scenedetect.scene_manager import SceneManager
from scenedetect.scene_manager import SceneManager as SceneManager

# Used for module identification and when printing version & about info
# (e.g. calling `scenedetect version` or `scenedetect about`).
Expand Down
Empty file added scenedetect/py.typed
Empty file.
Loading