Message279624
"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.) |
|
Date |
User |
Action |
Args |
2016-10-28 18:28:03 | steve.dower | set | recipients:
+ steve.dower, terry.reedy, paul.moore, tim.golden, roger.serwy, python-dev, zach.ware, eryksun, Big Stone |
2016-10-28 18:28:03 | steve.dower | set | messageid: <1477679283.41.0.21707143359.issue28522@psf.upfronthosting.co.za> |
2016-10-28 18:28:03 | steve.dower | link | issue28522 messages |
2016-10-28 18:28:03 | steve.dower | create | |
|