build: add pyproject metadata for setuptools packaging
This commit is contained in:
parent
cceef88bef
commit
5663920481
1 changed files with 34 additions and 0 deletions
34
pyproject.toml
Normal file
34
pyproject.toml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[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 = [
|
||||
"Pillow",
|
||||
"opencv-python",
|
||||
"numpy",
|
||||
"PySide6",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
scanslicer = "scanslicer.entry:main"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["scanslicer"]
|
||||
include-package-data = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue