nixpkgs/pkgs/development/python-modules/tkinter/pyproject.toml
Tom Hunze 6747987a9f
python313Packages.tkinter: revert to building with tcl 8.6
Tcl 9.0 support in Tkinter is not quite there yet [1]. There is ongoing
work on improving support, though.

This fixes the build of `python310Packages.tkinter` and
`python311Packages.tkinter`.

[1] https://github.com/python/cpython/issues/124111
2025-09-15 18:39:19 +02:00

15 lines
382 B
TOML

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "tkinter"
version = "@python_version@"
description = "Tkinter."
requires-python = ">=@python_version@"
[tool.setuptools]
packages = ["tkinter"]
ext-modules = [
{ name = "_tkinter", sources = ["_tkinter.c"], libraries = ["tcl", "tk"], include-dirs = ["@python_internal_dir@/"] }
]