[issue2563] embed manifest in windows extensions
Mark Hammond mhamm...@users.sourceforge.net added the comment: Given bug 4120, this seems the most appropriate resolution... -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2563 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2563] embed manifest in windows extensions
Andre Heider [EMAIL PROTECTED] added the comment: Note that this patch will break the loading of compiled modules on machines without the MS CRT redistributable installed. See Issue 4120 -- nosy: +aheider ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2563 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2563] embed manifest in windows extensions
Trent Nelson [EMAIL PROTECTED] added the comment: +1 from me on principle (haven't tested). -- nosy: +Trent.Nelson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2563 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2563] embed manifest in windows extensions
Christian Heimes [EMAIL PROTECTED] added the comment: Yes, it's me ;) I'm +1 on the feature but I haven't reviewed your patch. IIRC and unless I'm not mistaken you can tell the linker to embed the manifest without the extra mt.exe dance. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2563 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2563] embed manifest in windows extensions
Mark Hammond [EMAIL PROTECTED] added the comment: Note that we are actually using the linker to *generate* the manifest (something linkers pre VC2005 couldn't do), so if we could tell the linker to skip that manifest generation and embed it directly in the DLL, it would certainly be easier. But, IIRC (which I may not), you can embed a manifest directly via the linker by converting the manifest to a resource and linking that - however, that conversion still requires an extra tool. This is the alternative process outlined on the MS page I linked to. And finally, it seems Visual Studio itself embeds the resource this way. So if there is a way to embed the manifest without an additional step, I don't know about it :) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2563 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2563] embed manifest in windows extensions
New submission from Mark Hammond [EMAIL PROTECTED]: The move to vs2008 has caused .manifest files to be created next to distutils created extensions modules, rather than being embedded as recommended by Microsoft. See http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx The attached patch achieves this by telling the compiler to generate the manifest in the temp dir, them embeds that manifest using mt.exe Adding Christian for comment (hopefully the correct Christian this time - sorry about that :) -- assignee: mhammond components: Distutils files: embed_manifest.patch keywords: patch, patch messages: 65034 nosy: mhammond, tiran severity: normal status: open title: embed manifest in windows extensions type: feature request versions: Python 2.6 Added file: http://bugs.python.org/file9962/embed_manifest.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2563 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com