Steve Dower added the comment:

"Lib\site-packages" is probably unnecessary because of "import site", which 
likely adds it in anyway.

It's very likely that WinPython doesn't actually want to specify this at all, 
since it also enables isolated mode, which will ignore PYTHONPATH and the 
current working directory. But if that's okay, you probably want::

    python36.zip
    DLLs
    Lib
    .
    import site

That should give you the same default sys.path as if the file were omitted, 
except for the empty entry at the start and anything in PYTHONPATH or the 
registry. (I figured this out by running "python -S" and looking at sys.path.)

----------
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

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

Reply via email to