Message357617
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. |
|
Date |
User |
Action |
Args |
2019-11-28 15:11:55 | uranusjr | set | recipients:
+ uranusjr, brett.cannon, vinay.sajip, DamlaAltun |
2019-11-28 15:11:55 | uranusjr | set | messageid: <1574953915.73.0.795386202181.issue35003@roundup.psfhosted.org> |
2019-11-28 15:11:55 | uranusjr | link | issue35003 messages |
2019-11-28 15:11:55 | uranusjr | create | |
|