On 14 Jan 2021, at 14:22, Peng Yu <pengyu.ut@gmail.com> wrote:
Hi,
The /etc/paths.d directory on Mac OS X contains the following directory. Some packages have their PATH variables set there.
For Python, I have to set the PATH manually in my ~/.bashrc. Should the Python developers consider setting PATH in /etc/paths.d as well?
==> /etc/paths.d/100-rvictl <== /Library/Apple/usr/bin
==> /etc/paths.d/40-XQuartz <== /opt/X11/bin
==> /etc/paths.d/com.vmware.fusion.public <== /Applications/VMware Fusion.app/Contents/Public
One of the things that I wish the python macOS installed would stop doing is editing my .bashrc/.zshrc etc. After each python install I have to undo the edits to .bashrc or .zshrc that break my environment. I understand the motivation to do this. But please provide a why to turn this off for for people like me that have many versions of python installed. I think of two things that could be checked for. 1. A marked in the .bashrc/.zshrc file. '# python-disable-path-edit' 2. A file in ~/Library somewhere that disabled the behavour Barry
-- Regards, Peng _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/PHPM33FM... Code of Conduct: http://python.org/psf/codeofconduct/