Re: [Zim-wiki] Zim 0.42 released -- where is the Windows installer?
Jaap, it seems I fixed almost all bugs to compile zim to windows exe file using py2exe. Most important of them are: === modified file 'zim/config.py' --- zim/config.py 2010-01-13 18:39:54 + +++ zim/config.py 2010-01-15 10:58:53 + @@ -48,7 +48,7 @@ if os.path.isfile('./zim.py'): scriptdir = '.' # maybe running module in test / debug else: - scriptdir = os.path.dirname(sys.argv[0]) + scriptdir = os.path.dirname(os.path.abspath(sys.argv[0])) zim_data_dir = Dir(scriptdir + '/data') if zim_data_dir.exists(): ZIM_DATA_DIR = zim_data_dir === modified file 'zim/stores/files.py' --- zim/stores/files.py 2010-01-09 20:54:09 + +++ zim/stores/files.py 2010-01-15 11:38:32 + @@ -36,7 +36,8 @@ ''' StoreClass.__init__(self, notebook, path) self.dir = dir - assert self.store_has_dir() + st_has_dir = self.store_has_dir() + assert st_has_dir self.format = get_format('wiki') # TODO make configable def _get_file(self, path): Please confirm if these fixes should be added to main zim tree. Also do zim sources need python script to make windows executable file? If so let's discuss how it should be organized - Thanks, Eugene On Wed, Jan 13, 2010 at 09:48, Jaap Karssenberg jaap.karssenb...@gmail.comwrote: On Wed, Jan 13, 2010 at 4:28 AM, Jeffrey Liu j...@hanwave.net wrote: With regards to the Mac install for pyzim, I haven't worked with pyzim at all since the early releases. I'll also need to review my notes and see if the install goes well for the latest release. Depending on my free time, I may not be able to get to it until 0.43 comes out anyway. I'll send out a note with a status some time in the coming week or two. Actually I had a friend of mine test it and zim works using Mac Ports with X11. See the website for the exact packages you would need. Regards, Jaap ___ Mailing list: https://launchpad.net/~zim-wikihttps://launchpad.net/%7Ezim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wikihttps://launchpad.net/%7Ezim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Zim 0.42 released -- where is the Windows installer?
It seems py2exe ignores assert lines. But store_has_dir() should be called anyway that's why I splitted that line to two. Yes, I have script but it should be adjusted for: - where is the top sources/data folder (if script is not in root folder) - what folder should be used for release files, temp files. Also I guess Brendan has script (for nullsoft installer or some similar program) for creating installer package for windows which should be added to the same folder. So I need instructions from you: - where compiler/installer scripts should be located - what folders use as win32 release files, temporary folder for compiler After I will be able to commit changes to bzr tree and send merge request to you - Thanks, Eugene On Fri, Jan 15, 2010 at 14:10, Jaap Karssenberg jaap.karssenb...@gmail.comwrote: On Fri, Jan 15, 2010 at 12:46 PM, Eugene Schava esch...@gmail.com wrote: it seems I fixed almost all bugs to compile zim to windows exe file using py2exe. Most important of them are: ... 8 .. Please confirm if these fixes should be added to main zim tree. Sure we can fix these in the main tree - however I fail to see what the second one does - looks like identical statement. Also do zim sources need python script to make windows executable file? If so let's discuss how it should be organized If you have a script to compile an executable we can add that to the development tree. Thansk! Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Zim 0.42 released -- where is the Windows installer?
On Fri, Jan 15, 2010 at 2:02 PM, Eugene Schava esch...@gmail.com wrote: So I need instructions from you: - where compiler/installer scripts should be located - what folders use as win32 release files, temporary folder for compiler If it is just one script you can put it in the top directory of the source. If it is multiple files just make a windows directory (similar to the debian directory with debian packaging files). Temporary folder doesn't matter much, we clean it up afterwards anyway. Release files can go in the dist folder, which is also where setup.py puts source tar ball etc. Regards, Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Zim 0.42 released -- where is the Windows installer?
On Wed, Jan 13, 2010 at 4:28 AM, Jeffrey Liu j...@hanwave.net wrote: With regards to the Mac install for pyzim, I haven't worked with pyzim at all since the early releases. I'll also need to review my notes and see if the install goes well for the latest release. Depending on my free time, I may not be able to get to it until 0.43 comes out anyway. I'll send out a note with a status some time in the coming week or two. Actually I had a friend of mine test it and zim works using Mac Ports with X11. See the website for the exact packages you would need. Regards, Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Zim 0.42 released -- where is the Windows installer?
On Mon, Jan 11, 2010 at 5:25 PM, Brendan Kidwell sn...@glump.net wrote: I'm still the maintainer of the Windows installer since I built the Perl Zim installer last year, right? I'm so sorry you haven't heard much from me lately. And in case my implication wasn't clear -- no, I wasn't expecting that someone would have already stepped up to build the Windows installer. It's my responsibility until I hear someone wants to take over. ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp