This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry-scott
Recipients barry-scott
Date 2021-02-08.19:48:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612813729.04.0.380298765117.issue43167@roundup.psfhosted.org>
In-reply-to
Content
By default the python macOS installer will edit .bash_profile and .zsh_profile to add Python to the path.

For many users this is a problem that requires the added lines to be
removed after each install.

I suggest that there is a mechanism that the user can use to tell the
installer to leave the files as is.

Once option could be to add a marker in the profile files that when present turns off the editing.

For example a comment like:

# python: no-path-edit

Another possiblity is for the user to create a marker file that is checked for:

touch ~/Library/Preferences/org.python.no-path.edit

Any reasonable mechinism would be a great help.
History
Date User Action Args
2021-02-08 19:48:49barry-scottsetrecipients: + barry-scott
2021-02-08 19:48:49barry-scottsetmessageid: <1612813729.04.0.380298765117.issue43167@roundup.psfhosted.org>
2021-02-08 19:48:49barry-scottlinkissue43167 messages
2021-02-08 19:48:48barry-scottcreate