Yes, go on. I'll give it a shot. 2013/10/2, matatk <[email protected]>: > On Wednesday, 2 October 2013 07:16:08 UTC+1, Christoff Eilers wrote: >> >> Just curiositty, what do you use to compile the Python script into >> .exe files? I've been using two different libraries for that, and can >> tell you that I definitly got better results with CXFreeze than with >> py2exe. > > > I've tried both cx_Freeze and py2exe (suggested by Jacob Kruger a while > back > <https://groups.google.com/d/msg/agrip-project/kXhk_J3X0wA/yfHEaHe_1DIJ>). > However I have run into problems with both. This is because PyGUI uses > some weird magic to work out which of its submodules to load, depending on > the OS. Each module is coded specifically for a given OS, and when you, > say, ask to import GUI.Globals, it goes and finds the one for your current > OS and imports that. Neither cx_Freeze nor py2exe can cope with this. > However, there is a script that PyGUI includes to sort this out for > py2exe. Unfortunately I could not get it to work either. > > I like the idea of cx_Freeze as I think it could simplify the build system > across Mac and Windows tremendously. Alas I have simply not been able to > get it to work yet. I can send you my setup.py if you have time to look at > > it, maybe you can work out how to help it find the right PyGUI modules. > Though it looks quite complicated! > > best regards, > > > Matthew > > -- > You received this message because you are subscribed to the Google Groups > "AGRIP Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send an email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/agrip-project/aa086987-8708-4bf5-b957-e5b2ca9f2679%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. >
-- You received this message because you are subscribed to the Google Groups "AGRIP Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/agrip-project/CALe6LpLDWUD7ortgzzWCGnpgknAzWojkarV7qnQbPpH_g%2B9gjQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
