Hi All Yesterday I went to upgrade PyInstaller to try out the new egg support but ended up with my head stuck in the code for hours. I found various issues, tried to fix them, but ultimately did not have time to do what was required. Anyway, I went to file a bug on the tracker (and to update some others I had registered a while back) but Trac is giving all sorts of errors. So firtsly, someone needs to take a look at that.
After that, you may want to act on my findings from looking at the issues with eggs (setuptools). I found the following things: - If an egg contains an extension module the code goes loopy: the base class for the Zip module finder is the same as the other classes, and when it recognizes an extension inside a zip it says so. The problem is that you cannot access it without the ZipManager (or whatever that class is called) so it falls over trying to locate the file in the cached data. I added another subclass much like the other zip types you have (where they have an owner used to access them) and I got past that issue. - Once past that issue, I found that actually, egg files were not packaged at all. This was the point at which I gave up: I did not have sufficient time to find out what was going wrong or how they were supposed to be packaged: I don't know the code well enough to start digging in and getting a fix for that that is compatible with your importer code. For now I have worked around these issues by having my build tool extract dependent eggs somewhere that PyInstaller can see them, and then deleting them after it's done. These issues really need addressing though and I thought it best to register them so my time wouldn't go completely wasted. Thanks in advance. -- Jamie Kirkpatrick 07818 422311 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
