Steve Dower <steve.do...@python.org> added the comment:
That patch will break the case where the launcher *is* present, which is why it was changed. If you're sure the launcher won't be present under Scripts/nt, then that patch is okay. You'll probably need to add code to also copy python37.dll and vcruntime140.dll, since those are needed by the regular python.exe but not the launcher. However, why not use the launcher? All it does is find pyvenv.cfg, read its home variable and launches the python.exe it finds there. If you copy your build of venvlauncher over (or even our build) it will do the same thing. That said, I'm a little concerned about the sys.path in your first post. I assumed nobody had hit problems since there haven't been any complaints (I've been using the Store version exclusively since 3.7.2 was released), but there seems to be something wrong there. Perhaps it was due to your build? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35644> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com