Message355117
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. |
|
Date |
User |
Action |
Args |
2019-10-22 06:02:22 | eryksun | set | recipients:
+ eryksun, vinay.sajip, cooperlees, Epic_Wink |
2019-10-22 06:02:22 | eryksun | set | messageid: <1571724142.55.0.0834160634961.issue38483@roundup.psfhosted.org> |
2019-10-22 06:02:22 | eryksun | link | issue38483 messages |
2019-10-22 06:02:21 | eryksun | create | |
|