mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-13 23:06:35 +01:00
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
15 lines
382 B
TOML
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@/"] }
|
|
]
|