eris/pyproject.toml
Andrew Hamilton 5e0fd54a92 Use pyinstaller build for Docker images, drop shiv
The shiv zipapp's shebang points at the system python3 (GIL-enabled),
which cannot load the cp314t extensions built under the free-threaded
3.14 project venv, so ./dist/eris failed at runtime. pyinstaller bundles
its own 3.14t interpreter and works, so the Dockerfiles now run the
pyinstaller binary directly instead of via a python wrapper, and the
debian image no longer needs to install uv/python. Remove build-shiv and
the shiv dev dependency; build comments use podman.
2026-08-04 10:33:13 +10:00

50 lines
1.1 KiB
TOML

[tool.uv]
package = true
[tool.uv.extra-build-variables]
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = { value = "1" }
[project]
name = "eris"
version = "2026.8.3"
description = "Eris maintains an up-to-date set of reports for every file in a codebase."
readme = "README.md"
authors = [
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
]
requires-python = ">=3.14"
dependencies = [
"docopt-ng==0.9.0",
"fill3 @ git+https://forgejo.tail556789.ts.net/ahamilton/fill3.git@2026.8.3",
"lscolors @ git+https://forgejo.tail556789.ts.net/ahamilton/lscolors.git@2026.8.3",
"pexpect==4.9.0",
"pillow==12.3.0",
"pygments==2.20.0",
"pyinotify-elephant-fork==0.0.1",
]
[project.scripts]
eris = "eris.__main__:entry_point"
eris-webserver = "eris.webserver:main"
[project.urls]
homepage = "https://github.com/ahamilton/eris"
[dependency-groups]
dev = [
"pytest>=9.1.1",
"pyinstaller>=6.21.0",
]
[tool.pytest.ini_options]
norecursedirs = ["golden-files"]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages=["eris"]
[tool.setuptools.package-data]
"eris" = ["tools.toml"]