[issue4431] Distutils MSVC doesn't create manifest file

2017-01-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue4431] Distutils MSVC doesn't create manifest file

2017-01-05 Thread Charles Brossollet
Charles Brossollet added the comment: Here with python 2.7.13 and Visual Studio 2013, I get hit by the problem and it looks like link.exe needs the /MANIFEST keyword. Voting to get it fixed! -- nosy: +Charles Brossollet ___ Python tracker

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-07 Thread Pavel Repin
Changes by Pavel Repin prepin+pythonb...@gmail.com: -- nosy: -paxan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4431 ___ ___ Python-bugs-list

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-02 Thread Steve Dower
Steve Dower added the comment: It shouldn't be necessary for VS 2010 and later, and the `extra_link_args=['/MANIFEST']` workaround should be sufficient for cases where it is necessary (specific dependencies other than MSVCRT that require manifests). --

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-02 Thread Steve Dower
Steve Dower added the comment: And I suspect Matthew Brett's issue is that link_executable() does not expect an extension ('.exe') to be provided. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4431

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-02 Thread Steve Dower
Steve Dower added the comment: /MANIFEST is probably assumed on VC9 since the CRT required it, but that was probably changed for VC10 without updating the documentation fully. Frankly I'd rather remove the MANIFESTFILE property added by distutils, since it doesn't add anything of value (on my

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-02 Thread Matthew Brett
Matthew Brett added the comment: I think the argument previously was that VS 2010 was not the default compiler for Python 2.7, and so this problem was not important, but I'm happy to be corrected. I haven't tried building extensions for Python 2.7 with VS 2010 but I guess the problem will be

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-02 Thread Stephen Hansen
Stephen Hansen added the comment: Just to be clear, I ran into this exact issue recently in VS2010 professional as I indicated earlier. I don't know about what should or should not be needed, but the solution in the original comment fixed it exactly for me. --

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-02 Thread Steve Dower
Steve Dower added the comment: Sorry, I was focused on the fact that you don't need a manifest with VS 2010 and not that distutils was forcing you to have one when building an executable. Either adding '/MANIFEST' as in paxan's patch (according to

[issue4431] Distutils MSVC doesn't create manifest file

2015-01-02 Thread Matthew Brett
Matthew Brett added the comment: Steve - did you try my 'setup.py' example; it's standalone, as in `python setup.py build` will reproduce the error. This is specifically VS 2010. It doesn't make any difference for me if I specify an extension or not, so I don't think that is the problem.

[issue4431] Distutils MSVC doesn't create manifest file

2014-12-30 Thread Mark Lawrence
Mark Lawrence added the comment: Should this issue be reopened or not? -- components: +Windows nosy: +dstufft, steve.dower, tim.golden, zach.ware versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue4431] Distutils MSVC doesn't create manifest file

2014-12-29 Thread Matthew Brett
Matthew Brett added the comment: I think this is a frank bug for Pythons that use MSVC 10+ by default (3.3, 3.4 for example). The lack of the /MANIFEST flag breaks the distutils.ccompiler.CCompiler.link_executable command - see attached setup.py example. The example gives the error

[issue4431] Distutils MSVC doesn't create manifest file

2014-08-11 Thread Joachim Herb
Joachim Herb added the comment: Using Visual C++ 10.0 SP1 Express to build extensions for python 3.4 (64bit) I also had to modify distutils/msvc9compiler.py in the described way -- nosy: +jmozmoz versions: +Python 3.4 ___ Python tracker

[issue4431] Distutils MSVC doesn't create manifest file

2014-08-11 Thread Mark Lawrence
Mark Lawrence added the comment: There are a lot of messages on this issue considering it was closed as invalid on 25th November 2008 :) -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4431

[issue4431] Distutils MSVC doesn't create manifest file

2014-02-14 Thread Stephen Hansen
Stephen Hansen added the comment: FYI. Windows 8.1, Visual Studio 2010 SP1 Pro just installed, Python 3.3.3; a random extension did this as a 'test' in its setup.py: compiler = distutils.ccompiler.new_compiler() if not compiler.has_function('rand', includes = ['stdlib.h']): ...

[issue4431] Distutils MSVC doesn't create manifest file

2011-10-18 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I need Python compiled with Visual Studio 2010 because I use it embedded in an application compiled with Visual Studio 2010. I am pretty sure there are quite a lot of people who would like to compile Python with this compiler. I

[issue4431] Distutils MSVC doesn't create manifest file

2011-10-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: If I can provide the patch to support Visual Studio 2010 and setup a builtbot that will pass most of the tests, could we get Python supported on this platform? Yes. Even if VS2008 remains the preferred compiler to build Python, and

[issue4431] Distutils MSVC doesn't create manifest file

2011-10-18 Thread Mark Hammond
Mark Hammond skippy.hamm...@gmail.com added the comment: I don't think a buildbot will be necessary - like the earlier compilers, they may have basic support but they don't all get buildbot support. The problem isn't the lack of ability/will to get things working with VS2010 - it is more the

[issue4431] Distutils MSVC doesn't create manifest file

2011-10-18 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Amaury: Great! I have opened issue 13210 to achieve that. Mark: Mixing the 2 CRTs results in plenty of crashes in our application. The application also uses a lot of Qt. It is not an option to use a prebuilt Python binary

[issue4431] Distutils MSVC doesn't create manifest file

2011-10-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Corey, Sebastian: VS 2010 is not supported. So failure to work correctly is not a bug in Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4431

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-10-14 Thread Corey O'Brien
Corey O'Brien coreypobr...@gmail.com added the comment: Building py2exe with VS2010 I had this same issue and the /MANIFEST fix mentioned here fixed the problem. I also think that this issue should be re-opened. -- nosy: +coreypobrien ___ Python

[issue4431] Distutils MSVC doesn't create manifest file

2011-10-14 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, mhammond title: Distutils MSVC doesn't create manifest file (with fix) - Distutils MSVC doesn't create manifest file versions: +Python 3.3 -Python 2.6 ___ Python tracker

[issue4431] Distutils MSVC doesn't create manifest file

2011-10-14 Thread Mark Hammond
Mark Hammond skippy.hamm...@gmail.com added the comment: My experience is that for VS2008 at least, the /MANIFESTFILE: option seems to be ignored if there is nothing to put in the manifest, and this tends to be true if you use a static CRT instead of the DLL based one (ie, if you use /MT)

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-10-12 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I got this problem again this morning while compiling pywin32. This problem is not specific to me, anyone using Visual Studio 2010 to compile Python is experiencing the same issue:

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-10-12 Thread David Schnur
David Schnur dnsch...@gmail.com added the comment: I haven't commented since opening this issue, but I've been following along. Regarding Marc-Andre's latest comment, I think whether to embed a manifest or not is a separate issue. The current behavior is to embed a manifest, and so it

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-09-08 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I encountered the same problem while compiling the psutil package. I used Python 3.2.2 that I compiled myself using Visual Studio 2010 SP1 in Debug mode by following the PCBuild/readme.txt documentation. I could not compile psutil

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-04-04 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: And also with an extension module I'm trying to build with Python-2.7.1 AMD64. Schnur's suggestion fixes it. -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-04-04 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: Another workaround is by adding the linker argument to Extension() as extra_link_args: extra_link_args=['/MANIFEST'] -- ___ Python tracker rep...@bugs.python.org

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-01-23 Thread Gregory Czajkowski
Gregory Czajkowski gcflym...@gmail.com added the comment: Also happening with python2.6 and building pyzmq-2.0.10 using easy_install. dschnur's suggestion fixes it. -- nosy: +gcflymoto ___ Python tracker rep...@bugs.python.org

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2010-11-01 Thread David Joy
David Joy videa...@gmail.com added the comment: Hi Marc, Well, I fried my original server install trying to trace this. My new fresh install can still reproduce the problem with mysql-python, but I can't recreate the issue with PyOpenSSL anymore. Grabbing packages at random from PyPi hasn't

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2010-10-29 Thread David Joy
David Joy videa...@gmail.com added the comment: Hi All, I just built mysql-python against CPython2.7 MSVC2008 Express Edition and Server 2003 R2. All were freshly built on a clean Server 2003 install. This exact issue occurred building with pip 0.8.1 on top of distribute 0.6.14: C:\Program

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2010-10-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Hi David, since both you and Pavel are building mysql-python and using setuptools (which applies a lot of hacks on stock distutils), could you please also try some other package from PyPI in that same configuration and preferably one which

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2010-10-29 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg m...@egenix.com: Removed file: http://bugs.python.org/file13126/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4431 ___

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Pavel Repin
Pavel Repin prepin+pythonb...@gmail.com added the comment: I'd like to point out that on some configurations (at least mine), you really need to specify /MANIFEST option to the linker, even though MSDN documentation seems to imply that /MANIFEST behavior is ON by default. My config: beta

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: On 2009-02-17 20:22, Pavel Repin wrote: Pavel Repin prepin+pythonb...@gmail.com added the comment: I'd like to point out that on some configurations (at least mine), you really need to specify /MANIFEST option to the linker, even though

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Pavel Repin
Pavel Repin prepin+pythonb...@gmail.com added the comment: Hi Marc,I am pretty sure it helped on my particular configuration. I was trying to compile MySQL-python-1.2.2.tar.gz package from source and it was failing in mt.exe step because the manifest file was not there. I didn't do anything

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2009-02-17 Thread Pavel Repin
Pavel Repin prepin+pythonb...@gmail.com added the comment: Marc-Andre, I can also repro this on Vista machine with the same Python MSVS configuration. This is the build error stemming from missing manifest file (unnecessary details elided; note the absence of /MANIFEST option):

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2008-11-25 Thread David Schnur
New submission from David Schnur [EMAIL PROTECTED]: This is my first time submitting an issue; sorry if I am doing this wrong. While attempting to build/install PyOpenSSL on Windows / MSVC, the mt.exe step failed because it could not find the manifest file that it was attempting to embed in

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2008-11-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Since issue4120, the compilation tools precisely chose to *not* embed manifests in .pyd extensions. This probably means that the mt.exe step should be skipped by distutils. -- assignee: - loewis nosy: +amaury.forgeotdarc,

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2008-11-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: On 2008-11-25 21:16, David Schnur wrote: New submission from David Schnur [EMAIL PROTECTED]: This is my first time submitting an issue; sorry if I am doing this wrong. While attempting to build/install PyOpenSSL on Windows / MSVC,

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2008-11-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: This is why we don't see the problem: http://msdn.microsoft.com/en-us/library/f2c0w594.aspx The default is /MANIFEST. So it appears that you must have disabled this default somehow. ___ Python

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2008-11-25 Thread David Schnur
David Schnur [EMAIL PROTECTED] added the comment: I looked at this some more (I'm not super familiar with the use of manifests) and I think I figured it out. For somewhat complicated reasons, I'm compiling with /MT rather than /MD. Although link normally produces a manifest, since it's

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2008-11-25 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Closing it as invalid then. -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4431 ___