help with py2exe (and vtkpython)

Thomas Heller theller at python.net
Tue May 21 14:57:49 EDT 2002


"Marcus Stojek" <stojek at part-gmbh.de> wrote in message news:3cea6e21.27909250 at news.easynews.net...
> Hi,
>
> some time ago (Python 2.1, py2exe.0.3.1) I have written a little
> application to view 3d data with vtk (ver3.0). I have imported:
>
> from wxPython.lib import vtk
> from vtkpython import *
>
> and built:
>
> # setup.py
> from distutils.core import setup
> import py2exe
> setup(name="Viewer",scripts=["Viewer.py"],)
>
> this produced two neat dlls, (vtk.dll and vtkpyhon.dll) and everything
> worked just fine. As fas as i understand from looking at vtkpyton.py
> all this moduls does is providing the names of the required vtkdlls
> that have to be imported.
>
> Now, (Python 2.2, py2exe0.3.3) the same thing doesn't work any more.
> instead of importing vtkpython I have to list all dlls explicitly.
> Otherwise not a single vtk***.dll is imported. Furthermore, if I
> include these dlls they are just copied into the /dist directory and
> are not collected into one or two files as before.
>
> Any hints what I'm missing ?
Markus,

can you mail me (privately) your script for examination?

Thomas





More information about the Python-list mailing list