[Spambayes-checkins] spambayes/windows/py2exe setup_all.py, 1.18, 1.19

Kenny Pitt kpitt at users.sourceforge.net
Fri Jul 16 16:09:40 CEST 2004


Update of /cvsroot/spambayes/spambayes/windows/py2exe
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18399

Modified Files:
	setup_all.py 
Log Message:
Fix [941639] and [986353]:  Some utilities such as ZipMagic detect files with
a .ZIP extension and turn them into folders, which throws off Python's zip
import functionality.  Since py2exe doesn't care what filename is used for
the zip archive, use a non-standard extension so that the archive will be
ignored by ZIP utilities.


Index: setup_all.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/windows/py2exe/setup_all.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** setup_all.py	10 Jun 2004 04:36:51 -0000	1.18
--- setup_all.py	16 Jul 2004 14:09:37 -0000	1.19
***************
*** 158,161 ****
        data_files = outlook_data_files + proxy_data_files + common_data_files,
        options = {"py2exe" : py2exe_options},
!       zipfile = "lib/spambayes.zip",
  )
--- 158,161 ----
        data_files = outlook_data_files + proxy_data_files + common_data_files,
        options = {"py2exe" : py2exe_options},
!       zipfile = "lib/spambayes.modules",
  )



More information about the Spambayes-checkins mailing list