packaging: Switch over to pyproject.toml from setup.py

This commit is contained in:
Andrew Hamilton 2024-12-19 08:06:07 +10:00
parent 84cb34005e
commit abf2943d3f
3 changed files with 92 additions and 23 deletions

24
pyproject.toml Normal file
View file

@ -0,0 +1,24 @@
tool.uv.package = true
[project]
name = "diff-edit"
version = "v2024.12.19"
description = "Edit two files side by side, showing differences."
readme = "README.md"
authors = [
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
]
requires-python = ">=3.11"
dependencies = [
"docopt==0.6.2",
"fill3 @ git+https://gitlab.com/ahamilton/eris@v2024.12.18#subdirectory=fill3",
"lscolors @ git+https://gitlab.com/ahamilton/eris@v2024.12.18#subdirectory=lscolors",
"pygments==2.10.0",
"termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.18#subdirectory=termstr",
]
[project.scripts]
diff-edit = "diff_edit:main"
[project.urls]
Homepage = "https://github.com/ahamilton/diff-edit"