logoalt Hacker News

belkinpowertoday at 5:05 AM1 replyview on HN

This is already how busybox works. These examples are taking it to a more extreme level but it's not _that_ crazy.


Replies

zahlmantoday at 5:28 AM

AIUI, on Windows, pip (via the vendored `distlib`) also makes stub executables that work this way to implement the "entry points" defined in installed wheels. See: https://github.com/pypa/distlib/blob/master/PC/ReadMe.txt