From: James <vi...@ro...> - 2011-03-17 21:45:47
|
I have a program I'm deploying with py2exe. I used to bundle the VS2008 redistributable, but that's annoying and I'd rather just bundle the necessary VS2008 dll/manifest files. I'm familiar with the wiki where it says: "For Python 2.6, the DLL you need is called MSVCR90.dll." "You need the same version that the Python interpreter was compiled with, which is version 9.0.21022.8." "You'll need the vcredist_x86.exe that contains the Microsoft Visual C++ 2008 Redistributable Package published 29-11-2007, so not the VS2008 SP1 one (tested with Python 2.7.1). " However, I'm able to run a python 2.6.6 py2exe program on a testing computer with Windows 7 w/o bundling any dlls. Using sysinternals Process Monitor, I can see which files python is accessing. It seems Python 2.6.6 is accessing the "9.0.30729.4974" version of msvcr90.dll and not the "9.0.21022.8" from the wiki. First - is this correct? Do newer python builds now use the VS2008 SP1 DLL's instead of the VS2008 ones? Second - does anyone know a link that shows what versions of windows include which DLL's? I know my XP dev machine has those DLL's, and my new Windows 7 testing machine do - but I'd rather know what the lowest common denominator is so I can bundle for that. Thanks! -James Y. |