Skip to content

Commit caaf59d

Browse files
committed
[dist] Make dvr-scan installable via pyproject.toml.
1 parent c00ff6f commit caaf59d

File tree

5 files changed

+57
-117
lines changed

5 files changed

+57
-117
lines changed

pyproject.toml

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,63 @@
88
# DVR-Scan is licensed under the BSD 2-Clause License; see the included
99
# LICENSE file, or visit one of the above pages for details.
1010
#
11-
[build-system]
12-
requires = ["setuptools"]
13-
build-backend = "setuptools.build_meta"
11+
[project]
12+
name = "dvr-scan"
13+
dynamic = ["version"]
14+
description = "Tool for finding and extracting motion events in video files (e.g. security camera footage)."
15+
readme = "README.md"
16+
license = { text = "BSD-2-Clause" }
17+
requires-python = ">=3.8"
18+
authors = [
19+
{ name = "Brandon Castellano", email = "[email protected]" },
20+
]
21+
keywords = [
22+
"analysis",
23+
"computer-vision",
24+
"video",
25+
]
26+
classifiers = [
27+
"Development Status :: 5 - Production/Stable",
28+
"Environment :: Console",
29+
"Environment :: Console :: Curses",
30+
"Intended Audience :: Developers",
31+
"Intended Audience :: End Users/Desktop",
32+
"Intended Audience :: System Administrators",
33+
"License :: OSI Approved :: MIT License",
34+
"Operating System :: OS Independent",
35+
"Programming Language :: Python :: 3",
36+
"Programming Language :: Python :: 3.13",
37+
"Programming Language :: Python :: 3.8",
38+
"Programming Language :: Python :: 3.9",
39+
"Programming Language :: Python :: 3.10",
40+
"Programming Language :: Python :: 3.11",
41+
"Programming Language :: Python :: 3.12",
42+
"Topic :: Multimedia :: Video",
43+
"Topic :: Multimedia :: Video :: Conversion",
44+
"Topic :: Multimedia :: Video :: Non-Linear Editor",
45+
"Topic :: Utilities",
46+
]
47+
dependencies = [
48+
"numpy",
49+
"platformdirs",
50+
"scenedetect",
51+
"screeninfo",
52+
"tqdm",
53+
"opencv-python",
54+
"pillow",
55+
]
56+
57+
[project.scripts]
58+
dvr-scan = "dvr_scan.__main__:main"
59+
60+
[project.urls]
61+
"Bug Tracker" = "https://github.com/Breakthrough/DVR-Scan/issues"
62+
Documentation = "https://www.dvr-scan.com/docs"
63+
Homepage = "https://www.dvr-scan.com/"
64+
Repository = "https://github.com/Breakthrough/DVR-Scan"
65+
66+
[tool.setuptools]
67+
packages = ["dvr_scan"]
1468

1569
[tool.ruff]
1670
exclude = [

requirements.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

requirements_headless.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

setup.cfg

Lines changed: 0 additions & 74 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)