On Tue, Feb 2, 2021 at 6:31 AM Barry Scott <ba...@barrys-emacs.org> wrote:
>
>> On 30 Jan 2021, at 12:05, Inada Naoki <songofaca...@gmail.com> 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  <songofaca...@gmail.com>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/GQUYPIRT7IOWTXNHQCW73M7DOUMUMMFB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to