Attachment 'setup_py2exe.py'

Download

   1 from distutils.core import setup
   2 import py2exe
   3 
   4 setup(
   5     version = "1.5.0.0",
   6     description = "MMDE is a wiki suitable for desktop use",
   7     name = "MoinMoin DesktopEdition",
   8 
   9     # targets to build
  10     console = [{
  11         "script": "moin.py",
  12         "icon_resources": [(1, r"..\moin--main--1.5\wiki\htdocs\favicon.ico")],
  13             }],
  14     zipfile = r"pylib",
  15     options = {
  16         "py2exe": {
  17             'bundle_files': 2,
  18             "excludes": ["Tkconstants","Tkinter","tcl", "popen2", "gzip", "gdchart", "mod_python", "_pybsddb",
  19                          "dbhash", # do not support hashed spellchecker dictionaries
  20                          "_ssl", # do not support SSL connections
  21                          "smtplib", 'email.MIMEText', # do not support mails
  22                          "select", "tty", # just used by pydoc
  23                          "os2emxpath", #used by os
  24                          "doctest", # called by test code
  25                          "MoinMoin.i18n.check_i18n",
  26                          "teud", "xapian",
  27                          'Ft.Lib', 'Ft.Xml', 'Ft.Xml.Xslt.Processor', "Ft",
  28                          #"xml",
  29                          'Image', 'xml.parsers','xml.sax', 'xml.xslt.Processor',
  30                          "cookielib", # added because of rst/urllib2
  31 "wikiconfig", # we will supply it manually
  32 "hotshot",
  33 "stringprep", "encodings.idna",
  34 
  35                          ],
  36             "optimize": 2,
  37             "includes": ['encodings', 'encodings.iso8859_1', 'encodings.utf_8', 'encodings.ascii', 'encodings.utf_16_be', 'encodings.latin_1', 'encodings.iso8859_15', 'encodings.cp437',
  38                          'email.Utils',
  39                          'MoinMoin.action.*', 'MoinMoin.formatter.*', 'MoinMoin.macro.*', 'MoinMoin.parser.*', 'MoinMoin.theme.*',
  40                          'xml.dom', 'xml.dom.minidom',
  41                          'docutils.readers.standalone',
  42                          'docutils.languages.en',
  43                          'docutils.parsers.rst.directives.*',
  44                          'docutils.parsers.rst.directives.admonitions',
  45 'docutils.parsers.rst.directives.body',
  46 'docutils.parsers.rst.directives.html',
  47 'docutils.parsers.rst.directives.images',
  48 'docutils.parsers.rst.directives.parts',
  49 'docutils.parsers.rst.directives.references',
  50 "MoinMoin.i18n.zh_tw",
  51 "MoinMoin.i18n.zh",
  52 "MoinMoin.i18n.vi",
  53 "MoinMoin.i18n.sr",
  54 "MoinMoin.i18n.ru",
  55 "MoinMoin.i18n.nl",
  56 "MoinMoin.i18n.nb",
  57 "MoinMoin.i18n.meta",
  58 "MoinMoin.i18n.ko",
  59 "MoinMoin.i18n.ja",
  60 "MoinMoin.i18n.it",
  61 "MoinMoin.i18n.hu",
  62 "MoinMoin.i18n.he",
  63 "MoinMoin.i18n.fr",
  64 "MoinMoin.i18n.es",
  65 "MoinMoin.i18n.en",
  66 "MoinMoin.i18n.de",
  67 "MoinMoin.i18n.da",
  68 "MoinMoin.i18n.__init__",
  69 ],
  70             "dll_excludes": ["w9xpopen.exe", # we dont use popen
  71                              "bz2.pyd",
  72 "unicodedata.pyd",
  73 
  74                              ],
  75         }
  76     }
  77     )

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2005-12-30 22:58:42, 1.5 KB) [[attachment:attachfile.patch]]
  • [get | view] (2005-12-30 22:58:48, 1.9 KB) [[attachment:config.patch]]
  • [get | view] (2005-12-30 22:58:06, 1.4 KB) [[attachment:moin.py]]
  • [get | view] (2005-12-30 22:57:45, 4.9 KB) [[attachment:package_desktop.cmd]]
  • [get | view] (2005-12-30 22:58:23, 2.9 KB) [[attachment:setup_py2exe.py]]
  • [get | view] (2005-12-30 22:58:12, 0.2 KB) [[attachment:wikiconfig.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.