spambayes/windows/py2exe setup_all.py, 1.19, 1.20

"Tony Meyer" <[email protected]>
Newsgroups gmane.mail.spam.spambayes.cvs
Message-ID <[email protected]>
Update of /cvsroot/spambayes/spambayes/windows/py2exe
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31973/windows/py2exe

Modified Files:
	setup_all.py 
Log Message:
Add two fixes from the 1.0 branch: adding weakref explicitly (needed for bsddb with
 Python 2.4) and specifying the package location (needed for a distutils change, IIRC).

Index: setup_all.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/windows/py2exe/setup_all.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** setup_all.py	16 Jul 2004 14:09:37 -0000	1.19
--- setup_all.py	27 Jan 2005 02:43:18 -0000	1.20
***************
*** 10,13 ****
--- 10,15 ----
  sys.path.append(os.path.join(sb_top_dir, "Outlook2000/sandbox"))
  
+ import spambayes.resources
+ 
  # Generate the dialogs.py file.
  import dialogs
***************
*** 36,40 ****
      packages = "spambayes.resources,encodings",
      excludes = "win32ui,pywin,pywin.debugger", # pywin is a package, and still seems to be included.
!     includes = "dialogs.resources.dialogs", # Outlook dynamic dialogs
      dll_excludes = "dapi.dll,mapi32.dll",
      typelibs = [
--- 38,42 ----
      packages = "spambayes.resources,encodings",
      excludes = "win32ui,pywin,pywin.debugger", # pywin is a package, and still seems to be included.
!     includes = "dialogs.resources.dialogs,weakref", # Outlook dynamic dialogs
      dll_excludes = "dapi.dll,mapi32.dll",
      typelibs = [
***************
*** 147,150 ****
--- 149,153 ----
  setup(name="SpamBayes",
        packages = ["spambayes.resources"],
+       package_dir = {"spambayes.resources" : spambayes.resources.__path__[0]},
        # We implement a COM object.
        com_server=[outlook_addin],
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.