packaging: Use pyproject.toml files instead of setup.py

- Should at least work with pip and uv.
- Also added uv.lock files.
This commit is contained in:
Andrew Hamilton 2024-12-10 22:54:35 +10:00
parent a6e802e852
commit e164f4e7d1
12 changed files with 303 additions and 87 deletions

14
lscolors/pyproject.toml Normal file
View file

@ -0,0 +1,14 @@
[project]
name = "lscolors"
version = "v2024.12.07"
description = "Give coloring for file types as in the ls command."
authors = [
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
]
requires-python = ">=3.11"
dependencies = [
"termstr @ git+https://gitlab.com/ahamilton/eris@v2024.12.07#subdirectory=termstr",
]
[project.urls]
Homepage = "https://github.com/ahamilton/eris"