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 
https://blogs.msdn.microsoft.com/pythonengineering/2016/06/20/python-and-django-on-nano-server/)

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28467>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to