Author steve.dower
Recipients paul.moore, steve.dower, tim.golden, vinay.sajip, xtreak, zach.ware
Date 2018-11-21.00:29:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542760192.51.0.788709270274.issue34977@psf.upfronthosting.co.za>
In-reply-to
Content
For people watching the bug, this is ready for review.

Most of the change is adding a "layout" script (roughly the equivalent of "make install" for Windows, but with more flexibility to generate different structures, precompile stuff, etc.)

About the only CPython change is to venv. I added a new launcher variation that looks for pyvenv.cfg and runs the python.exe listed in that, so now we don't have to copy any DLLs into the venv at all (it's needed because the old one would try to LoadLibrary DLLs inside the store package, which is not allowed, but it also fixes my #1 complaint about venv which is that upgrading the base Python breaks all venvs).

There are also a few tweaks to the startup process, including extending the existing __PYVENV_LAUNCHER__ env variable from macOS to Windows as well, though it's handled in a different location. And a couple of minor tweaks to tests - issues discovered now that it's pretty easy to generate a "real" layout to run tests in.

I can break this up into a couple of PRs if that's preferred, though it doesn't really gain anything. If you're not interested in the new layout script, stop reading the PR after you finish launcher.c :)
History
Date User Action Args
2018-11-21 00:29:52steve.dowersetrecipients: + steve.dower, paul.moore, vinay.sajip, tim.golden, zach.ware, xtreak
2018-11-21 00:29:52steve.dowersetmessageid: <1542760192.51.0.788709270274.issue34977@psf.upfronthosting.co.za>
2018-11-21 00:29:52steve.dowerlinkissue34977 messages
2018-11-21 00:29:52steve.dowercreate