classification
Title: Avoid creating duplicate PATH entries with the macOS installer
Type: Stage:
Components: Build, macOS Versions: Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: ned.deily, rhettinger, ronaldoussoren
Priority: normal Keywords:

Created on 2019-09-28 18:40 by rhettinger, last changed 2020-12-06 20:02 by ronaldoussoren.

Messages (1)
msg353471 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2019-09-28 18:40
The macOS installer updates .bash_profile to add the current python version to the PATH.

The problem is that it doesn't check to see if that work has already been done in a previous installation.  So, as a person install successive beta releases, release candidates, a final release, and then maintenance releases, the PATH variable grows and grows.

As it stands now, a manual edit is required every after every update/upgrade.
History
Date User Action Args
2020-12-06 20:02:50ronaldoussorensetnosy: + ronaldoussoren
components: + macOS
2019-09-28 18:40:52rhettingercreate