Scripts API does not work when vendored
The code that locates the Windows executable launchers for ScriptMaker uses finder as follows:
result = finder('distlib').find(name).bytes
This does not work when distlib is not directly available, but is vendored (as pip does, making distlib available as pip.vendor.distlib).
This is probably fixable by not hardcoding the name 'distlib', but rather obtaining it from
__name__[:-8] seems to work, but it's a pretty ugly hack...