mirror of
https://github.com/kristoferssolo/Traffic-Light-Detector.git
synced 2025-10-21 20:00:36 +00:00
Removed `setup.py` and its adjasant files. Removed `tox`. Wrote meta data in `pyproject.toml`. Migrated from `playsound` to `magicsound` (not tested).
51 lines
1.6 KiB
TOML
51 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "TrafficLightDetector"
|
|
version = "0.1.0"
|
|
description = "Reduce traffic congestion effects due to human reaction times at intersections with traffic lights by utilizing a computer system based on direct communication method of changes in the circumscribed route intersection."
|
|
authors = [
|
|
{ name = "Kristofers Solo", email = "dev@kristofers.xyz" },
|
|
{ name = "Alan Alexander Cerna" },
|
|
]
|
|
keywords = ["detection", "traffic light"]
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "GPLv3" }
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3:10",
|
|
"Programming Language :: Python :: 3:11",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Operating System :: Linux",
|
|
]
|
|
dependencies = ["loguru==0.7", "opencv-python~=4.8", "magicsound==0.0.5"]
|
|
|
|
[project.urls]
|
|
"Source" = "https://github.com/kristoferssolo/Traffic-Light-Detector"
|
|
"Description" = "https://github.com/kristoferssolo/Traffic-Light-Detector/blob/main/DESCRIPTION.md"
|
|
"Bug Tracker" = "https://github.com/kristoferssolo/Traffic-Light-Detector/issues"
|
|
|
|
[tool.mypy]
|
|
check_untyped_defs = true
|
|
disallow_any_generics = true
|
|
ignore_missing_imports = true
|
|
mypy_path = "src"
|
|
no_implicit_optional = true
|
|
no_implicit_reexport = true
|
|
show_error_codes = true
|
|
strict_equality = true
|
|
warn_redundant_casts = true
|
|
warn_return_any = true
|
|
warn_unreachable = true
|
|
warn_unused_configs = true
|
|
|
|
|
|
[tool.ruff]
|
|
line-length = 160
|
|
|
|
[tool.ruff.flake8-quotes]
|
|
docstring-quotes = "double"
|