> On 14 Jan 2021, at 14:22, Peng Yu <[email protected]> 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 -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/PHPM33FMHXUIA3PKOETKKX3IXZHOMPP5/ > Code of Conduct: http://python.org/psf/codeofconduct/ > _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/WD4LS4LCRUC3G6O3PWOAK5NXL3MO3IGB/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-Dev] Should python installation modify /etc/paths.d ... Peng Yu
- [Python-Dev] Re: Should python installation modify /etc... Ned Deily
- [Python-Dev] Re: Should python installation modify ... Pankaj Jangid
- [Python-Dev] Re: Should python installation modify /etc... Barry Scott