not quite minimalistic enough  

site-packages

More Python shenanigans.

C:\Daten>py -3.6 -c "import sysconfig; print(sysconfig.get_path('platlib', 'nt_user'))"
C:\Users\me\AppData\Roaming\Python\Python36\site-packages

C:\Daten>py -3.6-32 -c "import sysconfig; print(sysconfig.get_path('platlib', 'nt_user'))"
C:\Users\me\AppData\Roaming\Python\Python36\site-packages

Am I missing something? Otherwise, would someone please explain why this was considered anything but a recipe for disaster?

Let me illustrate …

C:\Daten> py -3.6 -m pip install --user pywin32
[... installs ... ]

C:\Daten> py -3.6-32 -m pip install --user pywin32
[...]
Requirement already satisfied: pywin32 in C:\Users\me\appdata\roaming\python\python36\site-packages (223)

C:\Daten> py -3.6-32
Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32api
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 is not a valid Win32 application.

Um. WTF?

Also, platlib and purelib are apparently the same in all schemes, not just on Windows. Why have them separate in the first place?

Written on August 2, 2018