pyinstaller  

[PyInstaller] Getting libgmail to work with PyInstaller

hfrequency
Fri, 27 Jun 2008 09:49:15 -0700

Greetings to Everyone:

Here's a quick hack to get libgmail to work with PyInstaller, mind
you, it is _not_ an elegant solution.

>From going through this and some other newsgroups, it seems that there
was some name changes ( and probably other things ) in the email
module between python 24 and 25. For whatever reason that I don't
understand, it seems those changes cause PyInstaller not to find all
the necessary modules. You won't find the error until after you
compile and then you try to run the executable, which is something
like "no such module email.mime.base" or some such message.

Get a copy of python 24, copy the entire email directory inside of /
path/to/python24/Lib to the top level directory of your project and
run the PyInstaller commands. I don't know that this will always work,
I just know that I managed to get it to work with  my project.

The appropriate solution would be to create a hook, but none that I
wrote seems to work, although I will keep trying. (If someone has the
appropriate hook, could you post it?)

I used a copy of PyInstaller from the subversion repository, on June
23, 2008 and compiled on a windows xp machine using python25. Perhaps
the solution has since then been addressed?

Regards,
hf
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to PyInstaller@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

  • [PyInstaller] Getting libgmail to work with PyInstaller hfrequency