Dependancies for a wxPython app

Hi,

I'm about to release a wxPython app, but it occurs to me I may have forgotten about dependant DLLs in my installer. Is it just 'msvcr71.dll' or is there anything else required by wxWidgets / Python itself?

TIA,

Will McGugan

if you'll use unicode and plan to release for win98 you will need
unicows.dll

Peter

···

On Fri, 10 Jun 2005 19:32:58 +0300, Will McGugan <willmcgugan@gmail.com> wrote:

Hi,

I'm about to release a wxPython app, but it occurs to me I may have forgotten about dependant DLLs in my installer. Is it just 'msvcr71.dll' or is there anything else required by wxWidgets / Python itself?

TIA,

Will McGugan

Peter Damoc wrote:

···

On Fri, 10 Jun 2005 19:32:58 +0300, Will McGugan > <willmcgugan@gmail.com> wrote:

Hi,

I'm about to release a wxPython app, but it occurs to me I may have forgotten about dependant DLLs in my installer. Is it just 'msvcr71.dll' or is there anything else required by wxWidgets / Python itself?

TIA,

Will McGugan

if you'll use unicode and plan to release for win98 you will need
unicows.dll

To clairify, that is if you use the unicode build of wxPython, not just using unicode objects within the app.

If you use the activex module then you'll also need msvcp71.dll to get the std c++ lib, but that should be it, other than the DLLs normally installed on the system. However you can use a tool like Dependency Walker to be sure: http://www.dependencywalker.com/

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Peter Damoc wrote:

Hi,

I'm about to release a wxPython app, but it occurs to me I may have forgotten about dependant DLLs in my installer. Is it just 'msvcr71.dll' or is there anything else required by wxWidgets / Python itself?

TIA,

Will McGugan

if you'll use unicode and plan to release for win98 you will need
unicows.dll

To clairify, that is if you use the unicode build of wxPython, not just using unicode objects within the app.

If you use the activex module then you'll also need msvcp71.dll to get the std c++ lib, but that should be it, other than the DLLs normally installed on the system. However you can use a tool like Dependency Walker to be sure: http://www.dependencywalker.com/

or just use py2exe and it will do it all for you

···

On Fri, 10 Jun 2005 19:32:58 +0300, Will McGugan >> <willmcgugan@gmail.com> wrote:

Timothy Smith wrote:
[wxpython app dependancies]

or just use py2exe and it will do it all for you

It leaves out msvcr71.dll on my system,I have to manually copy it into the dist dir. At some point I'll have to add that step to the build
script. :slight_smile:

adi

Adi Jörg Sieker wrote:

Timothy Smith wrote:
[wxpython app dependancies]

or just use py2exe and it will do it all for you

It leaves out msvcr71.dll on my system,I have to manually copy it into the dist dir. At some point I'll have to add that step to the build
script. :slight_smile:

Hope this helps:

if sys.argv[1] == 'py2exe':
     ...
     setupOptions.update({
         'data_files' : [os.path.join('c:\\', 'Program Files', Python24', 'msvcr71.dll')],
         ...

Cheers, Frank

Frank Niessink wrote:

Hope this helps:

if sys.argv[1] == 'py2exe':
    ...
    setupOptions.update({
        'data_files' : [os.path.join('c:\\', 'Program Files', Python24', 'msvcr71.dll')],
        ...

Thanks, it will. :slight_smile:

adi