|
9 | 9 | # LICENSE file, or visit one of the above pages for details. |
10 | 10 | # |
11 | 11 | [build-system] |
12 | | -requires = ["setuptools"] |
| 12 | +requires = ["setuptools>=64"] |
13 | 13 | build-backend = "setuptools.build_meta" |
14 | 14 |
|
| 15 | +[project] |
| 16 | +name = "dvr-scan" |
| 17 | +dynamic = ["version"] |
| 18 | +description = "Tool for finding and extracting motion events in video files (e.g. security camera footage)." |
| 19 | +readme = "README.md" |
| 20 | +license = { text = "BSD-2-Clause" } |
| 21 | +requires-python = ">=3.10" |
| 22 | +authors = [ |
| 23 | + { name = "Brandon Castellano", email = "brandon248@gmail.com" }, |
| 24 | +] |
| 25 | +keywords = [ |
| 26 | + "analysis", |
| 27 | + "computer-vision", |
| 28 | + "video", |
| 29 | +] |
| 30 | +classifiers = [ |
| 31 | + "Development Status :: 5 - Production/Stable", |
| 32 | + "Environment :: Console", |
| 33 | + "Environment :: Console :: Curses", |
| 34 | + "Intended Audience :: Developers", |
| 35 | + "Intended Audience :: End Users/Desktop", |
| 36 | + "Intended Audience :: System Administrators", |
| 37 | + "License :: OSI Approved :: MIT License", |
| 38 | + "Operating System :: OS Independent", |
| 39 | + "Programming Language :: Python :: 3", |
| 40 | + "Programming Language :: Python :: 3.10", |
| 41 | + "Programming Language :: Python :: 3.11", |
| 42 | + "Programming Language :: Python :: 3.12", |
| 43 | + "Programming Language :: Python :: 3.13", |
| 44 | + "Topic :: Multimedia :: Video", |
| 45 | + "Topic :: Multimedia :: Video :: Conversion", |
| 46 | + "Topic :: Multimedia :: Video :: Non-Linear Editor", |
| 47 | + "Topic :: Utilities", |
| 48 | +] |
| 49 | +dependencies = [ |
| 50 | + "numpy", |
| 51 | + "platformdirs", |
| 52 | + "scenedetect>=0.6.2", |
| 53 | + "tqdm", |
| 54 | + "pillow", |
| 55 | + # TODO(#257): Unpin OpenCV versions once we figure out why frame numbers are mismatching in tests. |
| 56 | + "opencv-contrib-python<4.13", |
| 57 | + "screeninfo", |
| 58 | +] |
| 59 | + |
| 60 | +[project.optional-dependencies] |
| 61 | +dev = [ |
| 62 | + "pytest", |
| 63 | + "ruff", |
| 64 | +] |
| 65 | + |
| 66 | +[project.scripts] |
| 67 | +dvr-scan = "dvr_scan.__main__:main" |
| 68 | +dvr-scan-app = "dvr_scan.app.__main__:main" |
| 69 | + |
| 70 | +[project.urls] |
| 71 | +"Bug Tracker" = "https://github.com/Breakthrough/DVR-Scan/issues" |
| 72 | +Documentation = "https://www.dvr-scan.com/docs" |
| 73 | +Homepage = "https://www.dvr-scan.com/" |
| 74 | +Repository = "https://github.com/Breakthrough/DVR-Scan" |
| 75 | + |
| 76 | +[tool.setuptools] |
| 77 | +include-package-data = true |
| 78 | + |
| 79 | +[tool.setuptools.packages.find] |
| 80 | +include = ["dvr_scan*"] |
| 81 | + |
| 82 | +[tool.setuptools.dynamic] |
| 83 | +version = {attr = "dvr_scan.__version__"} |
| 84 | + |
15 | 85 | [tool.ruff] |
16 | 86 | exclude = [ |
17 | 87 | "docs" |
@@ -43,3 +113,7 @@ select = [ |
43 | 113 | ] |
44 | 114 | fixable = ["ALL"] |
45 | 115 | unfixable = [] |
| 116 | + |
| 117 | +[tool.pytest.ini_options] |
| 118 | +addopts = "--verbose" |
| 119 | +python_files = ["tests/*.py"] |
0 commit comments