python / python/cpython

macOS installer shell path management improvements

Aberta
#137,450 0 comentários 1 reação 1 responsável Ver no GitHub

@ned-deily já está trabalhando nisso.

Desde 6/8/2025.

OS-mac topic-installation
Linguagem predominante
Python
Estrelas
77.2k
Forks
36k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.