You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8d689ae
Browse filesBrowse the repository at this point in the historyBrowse files
gh-119696: Find the interpreter relative to installed scripts with --enable-relocatable
The installed idle3, pydoc3 and python-config Python scripts start with
"#!" and the absolute path of the interpreter. That path is wrong once
the installation is moved, and a "#!" line can't hold a path that has
spaces or is too long.
With --enable-relocatable, start them with a /bin/sh wrapper that runs
the interpreter by its location relative to the script. python-config.py
in the config directory gets the same wrapper, when the bin directory is
"bin" in the prefix. Where the realpath command is available, the
wrapper also follows a symlink to the script.
Without the option the generated scripts are unchanged.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
0 commit comments