This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gladman
Recipients dstufft, eric.araujo, gladman
Date 2015-08-05.16:25:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438791934.66.0.561634074582.issue24798@psf.upfronthosting.co.za>
In-reply-to
Content
I have been using _msvcompiler.py from Python 3.5 to build some executables but I have been unable to get it to generate and embed a  manifest.  

When I looked into this I found that the subroutine that sets up the parameters for generating a manifest ('manifest_get_embed_info'  at around line 471) has the line:

        ld_args.append('/MANIFESTFILE:' + temp_manifest)

to set the manifest's name but doesn't actually ask for a manifest to be generated.  Here is what is said about /MANIFESTFILE on MSDN:

"/MANIFESTFILE will have no effect if you do not also link with /MANIFEST."

After adding:

        ld_args.append('/MANIFEST')

before the above line, I then succeed in obtaining the manifest.
History
Date User Action Args
2015-08-05 16:25:34gladmansetrecipients: + gladman, eric.araujo, dstufft
2015-08-05 16:25:34gladmansetmessageid: <1438791934.66.0.561634074582.issue24798@psf.upfronthosting.co.za>
2015-08-05 16:25:34gladmanlinkissue24798 messages
2015-08-05 16:25:32gladmancreate