]>
Commit | Line | Data |
---|---|---|
7114b9fa | 1 | # A distutils script to make a standalone .exe of superdoodle for |
47b37e4b RD |
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 | |
7114b9fa RD |
7 | # |
8 | ||
47b37e4b | 9 | |
f0e87807 | 10 | import sys, os |
7114b9fa RD |
11 | from distutils.core import setup |
12 | import py2exe | |
13 | ||
34bec089 RD |
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 = [] | |
f0e87807 RD |
18 | |
19 | ||
7114b9fa | 20 | setup( name = "superdoodle", |
81457c86 | 21 | #console = ["superdoodle.py"] |
f0e87807 | 22 | windows = ["superdoodle.py"], |
34bec089 | 23 | #data_files = DATA, |
3c69a2ec RD |
24 | options = {"py2exe" : { "compressed": 0, |
25 | "optimize": 2, | |
26 | "bundle_files": 1, | |
27 | }}, | |
28 | zipfile = None | |
7114b9fa RD |
29 | ) |
30 |