Steve Dower added the comment:
You can also modify the "python36._pth" file in the embedded distro to include
"import site" if you want all the stuff that comes with that.
The intent of the embeddable distribution is to be a private dependency of a
larger application, where you typically won't want the site module.
It is also intended to be a developer resource that is extracted by the dev,
modified, and then put into another installer - it's not meant to be
automatically extracted and used on a target machine. Modifying the ._pth file
is therefore "acceptable" given the purpose.
I've closed this as an issue. Hopefully I can convince the Nano Server guys to
blog again (they did once before at
resolution: -> not a bug
stage: -> resolved
status: open -> closed
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list