[issue38309] Avoid creating duplicate PATH entries with the macOS installer

Raymond Hettinger report at bugs.python.org
Sat Sep 28 14:40:52 EDT 2019


New submission from Raymond Hettinger <raymond.hettinger at gmail.com>:

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.

----------
assignee: ned.deily
components: Build
messages: 353471
nosy: ned.deily, rhettinger
priority: normal
severity: normal
status: open
title: Avoid creating duplicate PATH entries with the macOS installer
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38309>
_______________________________________


More information about the Python-bugs-list mailing list