| 1 | # A distutils script to make a standalone .exe of superdoodle for |
| 2 | # Windows platforms. You can get py2exe from |
| 3 | # http://py2exe.sourceforge.net/. Use this command to build the .exe |
| 4 | # and collect the other needed files: |
| 5 | # |
| 6 | # python setup.py py2exe |
| 7 | # |
| 8 | |
| 9 | |
| 10 | import sys, os |
| 11 | from distutils.core import setup |
| 12 | import py2exe |
| 13 | |
| 14 | ## if sys.platform == "win32" and sys.version_info > (2, 4): |
| 15 | ## DATA = [("", os.path.join(sys.exec_prefix, 'msvcr71.dll'))] |
| 16 | ## else: |
| 17 | ## DATA = [] |
| 18 | |
| 19 | |
| 20 | setup( name = "superdoodle", |
| 21 | #console = ["superdoodle.py"] |
| 22 | windows = ["superdoodle.py"], |
| 23 | #data_files = DATA, |
| 24 | options = {"py2exe" : { "compressed": 0, |
| 25 | "optimize": 2, |
| 26 | "bundle_files": 1, |
| 27 | }}, |
| 28 | zipfile = None |
| 29 | ) |
| 30 | |