Eryk Sun <eryk...@gmail.com> added the comment:

In Windows, dot files cannot be hidden (i.e. set the hidden file attribute), 
unlike how they're conventionally hidden in Unix. Doing so breaks normal 
access. A directory such as ".venv" can be hidden, but that's still going 
against convention. For Windows, I suggest using "$APPDATA/Python/venv.ini" as 
the default path. 

Note that, while "$APPDATA/Python" happens to be the base directory for 
per-user package installations, i.e. site.getuserbase(), I'm not suggesting to 
use the user base directory as the default in Unix and macOS systems. 

For comparison, pip uses "$APPDATA/pip/pip.ini" in Windows and 
"$HOME/.config/pip/pip.conf" in Unix. In macOS it prefers 
"$HOME/Library/Application Support/pip" over "$HOME/.config/pip" if the former 
exists.

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38483>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to