Tzu-ping Chung <uranu...@gmail.com> added the comment:

There are more differences than Scripts/bin, like Windows use Lib but POSIX 
uses lib/pythonX.Y. IMO it’s probably better to stick with platform 
conventions, especially since those can be discovered with 
sysconfig.get_paths(expand=False).

I wonder whether it’d be a good idea to record what scheme was used to create 
the venv (in pyvenv.cfg). Any Python runtime can use that value in 
get_paths(scheme=..., expand=False) to know about the venv’s structure, even if 
the venv was created on another platform. This would be particularly useful to 
e.g. inspect a Windows-native venv in a WSL Python.

----------
nosy: +uranusjr

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

Reply via email to