On Tue, Feb 2, 2021 at 6:31 AM Barry Scott <[email protected]> wrote: > >> On 30 Jan 2021, at 12:05, Inada Naoki <[email protected]> wrote: >> >> Where would Python look for a "configuration file like `pyvenv.cfg`" ? >> >> I am not a Windows expert so I am not sure. But I think it should be >> the same directory where `python.exe` is in. > > You can put the system default there but each user needs to have a file that > they can control > to set the per user config. > > py.exe uses %LOCALAPPDATA%\py.ini > > I'd suggest that you could have a %LOCALAPPDATA%\python.ini. >
But what happen if user installed Python from python.org and Python from conda? User may have two or more Pythons having the same version. In my idea, if user can not change the config of system installed Python, user still can create venv and change the setting for the venv. -- Inada Naoki <[email protected]> _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/GQUYPIRT7IOWTXNHQCW73M7DOUMUMMFB/ Code of Conduct: http://python.org/psf/codeofconduct/
