ScanSlicer/pyproject.toml
dan 929c828438 build: harden dependency supply chain
- Drop unused Pillow dependency
- Switch opencv-python to opencv-python-headless (~=4.13.0)
- Verify package hashes in the AppImage build (uv export hashes,
  pip install --require-hashes, separate --no-deps wheel install)
- Sync dependency docs and third-party notices
2026-09-11 23:07:30 +02:00

33 lines
889 B
TOML

[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "scanslicer"
version = "1.0.0"
description = "Detect, straighten and save photos from a flatbed scanner source image"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
license = { text = "GPLv3" }
authors = [
{ name = "macrodev", email = "macron.dev@proton.me" }
]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opencv-python-headless~=4.13.0",
"numpy",
"PySide6",
]
[project.scripts]
scanslicer = "scanslicer.entry:main"
[tool.setuptools]
packages = ["scanslicer"]
include-package-data = true