python / python/cpython

macOS installer shell path management improvements

Aperta
#137,450 0 commenti 1 reazione 1 assegnatario Vedi su GitHub

@ned-deily ci sta già lavorando.

Dal 6/8/2025.

OS-mac topic-installation
Lingua principale
Python
Stelle
77.2k
Fork
35.9k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

The macOS Python installers provided on python.org with each Python release have long provided a fairly primitive mechanism to ensure the newly-installed Python is available on the user's shell PATH. A postinstall script is run by default by the installer which attempts to modify the user's login shell's profile to add the Python framework's bin directory to the shell PATH. A copy of the script is also included by default in the /Applications/Python 3.x directory. There are a number of shortcomings with this approach. This issue is a placeholder for upcoming work in this area.

Linked PRs
  • gh-137451
  • gh-137452
  • gh-137453

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.