]>
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 | ||
f0e87807 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 = [] | |
18 | ||
19 | ||
7114b9fa | 20 | setup( name = "superdoodle", |
81457c86 | 21 | #console = ["superdoodle.py"] |
f0e87807 RD |
22 | windows = ["superdoodle.py"], |
23 | data_files = DATA, | |
7114b9fa RD |
24 | ) |
25 |