From: Harald M. <gh...@gm...> - 2005-02-10 17:34:48
|
Hello, I am still in the process of upgrading all applications to python 2.4 testdistributions failed with "msvcr71.dll missing" I knew of the mfc71.dll issue with win32all, but I am new to this problem. Should'nt msvcr71.dll be copied automatically by py2exe also? (I fixed it by extendeing "Datafiles", which works but lucks like a hack) Harald |
From: Michael F. <mi...@pc...> - 2005-02-11 08:30:58
|
Harald Massa wrote: >Hello, > >I am still in the process of upgrading all applications to python 2.4 > >testdistributions failed with "msvcr71.dll missing" > >I knew of the mfc71.dll issue with win32all, but I am new to this problem. >Should'nt msvcr71.dll be copied automatically by py2exe also? > >(I fixed it by extendeing "Datafiles", which works but lucks like a hack) > > > It's a known issue. This dll is required by python programs to run, but no-one has conclusively resolved the issues about distributing it (although it's probably fine). It's not needed on*every* machine as many users will already have it somewhere on their path - although a clean install of windows XP won't. I believe that Thomas is still deciding whether to include it by default, or not (as is the current situation). Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml >Harald > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Py2exe-users mailing list >Py2...@li... >https://lists.sourceforge.net/lists/listinfo/py2exe-users > > > > > |
From: Thomas H. <th...@py...> - 2005-04-28 09:30:17
|
Michael Foord <mi...@pc...> writes: > Harald Massa wrote: > >>Hello, >> >>I am still in the process of upgrading all applications to python 2.4 >> >>testdistributions failed with "msvcr71.dll missing" >> >>I knew of the mfc71.dll issue with win32all, but I am new to this problem. >>Should'nt msvcr71.dll be copied automatically by py2exe also? >> >>(I fixed it by extendeing "Datafiles", which works but lucks like a hack) >> >> > It's a known issue. This dll is required by python programs to run, > but no-one has conclusively resolved the issues about distributing it > (although it's probably fine). > > It's not needed on*every* machine as many users will already have it > somewhere on their path - although a clean install of windows XP > won't. I believe that Thomas is still deciding whether to include it > by default, or not (as is the current situation). I'm preparing a new release, and wondering what to do about this. Would it be useful to print a list of dlls which were found to be needed as binary dependencies but not included automatically by py2exe? Here's the current output from py2exe'ing the 'advanced' sample (which uses pywin32) with py2exe and Python 2.4: """ *** binary dependencies *** Your executable(s) also depend on these dlls which are not included, you may or may not need to distribute them. Make sure you have the license to distribute them, and make sure you don't distribute files belonging to the operating system. ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll COMCTL32.dll - C:\WINDOWS\system32\COMCTL32.dll GDI32.dll - C:\WINDOWS\system32\GDI32.dll KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll MFC71.DLL - C:\WINDOWS\system32\MFC71.DLL MSVCR71.dll - C:\WINDOWS\system32\MSVCR71.dll OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll USER32.dll - C:\WINDOWS\system32\USER32.dll VERSION.dll - C:\WINDOWS\system32\VERSION.dll WINSPOOL.DRV - C:\WINDOWS\system32\WINSPOOL.DRV ole32.dll - C:\WINDOWS\system32\ole32.dll """ Thomas |
From: <mi...@pc...> - 2005-04-28 10:19:43
|
Hello Thomas, Quoting Thomas Heller <th...@py...>: [snip..] > > I'm preparing a new release, and wondering what to do about this. > > Would it be useful to print a list of dlls which were found to be needed > as binary dependencies but not included automatically by py2exe? > Yes. A good solution. What would also be good is running the same test on a clean windows XP (windows 98/NT/Me ??) install and seeing which aren't available as standard (and so might need to be 'made available'). As you say - it's no good distributing OS files... but we need to know which might be *required* by users. Whilst we're on the subject.... perhaps you could enlighten me as to how the OS path works (I'm only familiar with the Python sys.path !). I guess it checks everywhere in the 'PATH' environment variable *and* in the current directory (when looking for DLLs). Can you add a directory to the windows search path (for this program) by doing : os.environ['path'] += ';' + dir_name I knwo I could test it by building a py2exe script with the dlls in a subdirectory... but I thought you might know :-) Thanks Fuzzy http://www.voidspace.org.uk/python > Here's the current output from py2exe'ing the 'advanced' sample (which > uses pywin32) with py2exe and Python 2.4: > > """ > *** binary dependencies *** > Your executable(s) also depend on these dlls which are not included, > you may or may not need to distribute them. > > Make sure you have the license to distribute them, and make sure > you don't distribute files belonging to the operating system. > ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll > COMCTL32.dll - C:\WINDOWS\system32\COMCTL32.dll > GDI32.dll - C:\WINDOWS\system32\GDI32.dll > KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll > MFC71.DLL - C:\WINDOWS\system32\MFC71.DLL > MSVCR71.dll - C:\WINDOWS\system32\MSVCR71.dll > OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll > SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll > USER32.dll - C:\WINDOWS\system32\USER32.dll > VERSION.dll - C:\WINDOWS\system32\VERSION.dll > WINSPOOL.DRV - C:\WINDOWS\system32\WINSPOOL.DRV > ole32.dll - C:\WINDOWS\system32\ole32.dll > """ > > Thomas > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |