From: Alan G. <ago...@ya...> - 2003-09-16 17:14:32
|
--- Roger Binns <ro...@ro...> wrote: > Alan Gonzalez wrote: > > I was trying to add a file to get built into the bp.exe and I can't seem to > get > > my new file included. > > py2exe follows all imports starting at bp.py. Just make sure something > somewhere > imports it and calls it. it's an import, but it's in an if statement. Is that a problem? I added a combobox in the settings dialog for phonetype then it imports the correct com_phonetype.py. My new com_lgvx10.py though isn't being compiled. This is until your new phone extensions are ready. > > > When i run makedist.py i get some error about a /B being not understood. I > ran > > this from command, by c:\python23\python makedist.py > > You need to build on the Windows2K/XP family. Until about 2 weeks before 0.6 > was released I used Win98 as my main OS. Unfortunately the scripting > between Win98 and Windows2K/XP is different enough that I can't really make > one file work for both. > > You are also going to to find it quite a bit of fun building if you don't > have all the necessary software installed. In particular, you will also need > Resource Hacker installed in c\program files\resource hacker, > helpblocks and the Microsoft Help Compiler, and InnoSetup. > > > /cygdrive/c/python23/python p2econfig.y py2exe -w -O2 > > That same command should work outside of Cygwin as well. > > > and i get the bp.exe built. > > Why are you trying to build an exe? It is only needed if you are trying to > give > the software to someone else. > dunno, just was seeing how it was done. > I am more than happy to integrate your work. Do a cvs update, and then from > the command line: > > cvs diff -u > > And send me the results. I can also send you an exe if you want one. > > Roger > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |