astral-sh / astral-sh/python-build-standalone

Upstream patch `patch-tkinter-3.13.patch` [Relocatable]

Open
#874 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
314
Avg merge
1d 9h
Merged PRs (30d)
27

Description

[`patch-tkinter-3.13.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/patch-tkinter-3.13.patch)

On Windows, CPython looks for Tcl/Tk libraries relative to the base prefix. On Unix, it doesn't.

This patch applies similar Windows-like behavior on Unix, ensuring Tcl/Tk libraries are found in the correct location relative to the installation.

**Related:**
- [`patch-tkinter-3.10.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/patch-tkinter-3.10.patch) (for Python 3.10)
- [`patch-tkinter-3.11.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/patch-tkinter-3.11.patch) (for Python 3.11)
- [`patch-tkinter-3.12.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/patch-tkinter-3.12.patch) (for Python 3.12)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.