[wxPython] Installer running me nuts

I am definively lost with the McMillan Installer

Wanted something simple so I just ran the Standalone program
Got one exe which won't run + the dist directory.

in the dist directory I have only the "famous" (sig =)
wxpython.wxc.pyd
no wxc.pyd

I don't know why but the exe in dist in more versatile than
the other one...so then I learn that

File "d:\python20\lib\imputil.py", line 91, in _import_hook
  raise ImportError, 'No module named ' + fqname
portError: No module named wxc

When I rename wxpyton.wxc.pyd to wxc.pyd it stops complaining
about wxc and starts running (sig =) the application...
Don't worry it stops immediatly saying that this time
it doesn't find the time module (which I believe should be
in the python20.dll)

Anyone got an idea about what I do wrong ??

Huh by the way I don't find the part speaking about
freezing/making standalone wxPython apps in the list...
(is it in the to-do list ? =) Does anybody remembers when
was it so I can stop searching reading all the messages' topics ?

Thanx by advance

Amine

···

-----------------------------------------------------------

Don't take life too seriously : it's not permanent.

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

This has to be quick as I'm on the way to the airport....

···

----- Original Message -----
From: <amine@free.fr>
To: <wxpython-users@lists.sourceforge.net>
Sent: Saturday, December 23, 2000 1:05 AM
Subject: [wxPython] Installer running me nuts

I am definively lost with the McMillan Installer

Wanted something simple so I just ran the Standalone program
Got one exe which won't run + the dist directory.

in the dist directory I have only the "famous" (sig =)
wxpython.wxc.pyd
no wxc.pyd

I don't know why but the exe in dist in more versatile than
the other one...so then I learn that

I believe that they're the same, but the one in the dist has access to all
of the files it needs while the other is lonely....

File "d:\python20\lib\imputil.py", line 91, in _import_hook
  raise ImportError, 'No module named ' + fqname
portError: No module named wxc

When I rename wxpyton.wxc.pyd to wxc.pyd it stops complaining
about wxc and starts running (sig =) the application...
Don't worry it stops immediatly saying that this time
it doesn't find the time module (which I believe should be
in the python20.dll)

Anyone got an idea about what I do wrong ??

Don't have time to explain why, but try putting this in the top of your main
module:

import sys, imputil
sys.path.append(imputil.BuiltinImporter())

(I had to add this when I started using the new Installer for Python 2.0).

If that doesn't help, maybe someone else can help you as I'll be out for a
week. If it does work, it's probably a bug in the Installer which I haven't
got around to reporting yet.

-tim

Huh by the way I don't find the part speaking about
freezing/making standalone wxPython apps in the list...
(is it in the to-do list ? =) Does anybody remembers when
was it so I can stop searching reading all the messages' topics ?

Thanx by advance

Amine

-----------------------------------------------------------

Don't take life too seriously : it's not permanent.

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

En réponse à Tim Hochberg <tim.hochberg@ieee.org>:

I still had the problem with the wxc module that I still solved
by changing the filename and Yeeees it works !!

And the day is saved thanx to Tim !! =)

Don't have time to explain why, but try putting this in the top of your
main
module:

import sys, imputil
sys.path.append(imputil.BuiltinImporter())

This two lines saved my life !! =)

By the way everybody : Happy Christmas (Tim brought my first gift =)!!

And enjoy your journey Tim ! =)

···

(I had to add this when I started using the new Installer for Python
2.0).

If that doesn't help, maybe someone else can help you as I'll be out for
a
week. If it does work, it's probably a bug in the Installer which I
haven't
got around to reporting yet.

-tim

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users