|
4 | 4 | # or distributed without explicit written permission from Ram Rachum. |
5 | 5 |
|
6 | 6 | ''' |
7 | | -Script for packaging GarlicSim for Windows users. |
| 7 | +Script for packaging GarlicSim as a complete program to end users. |
8 | 8 |
|
9 | | -Run without arguments to package GarlicSim using `py2exe` into the |
10 | | -`py2exe_dist`. |
| 9 | +Currently implemented only for Windows. |
11 | 10 |
|
12 | | -Options: |
| 11 | +Different op: |
13 | 12 |
|
| 13 | + --win [OR] -w |
| 14 | + Create a Windows distribution. |
| 15 | +
|
| 16 | + --mac [OR] -m |
| 17 | + Create a Mac distribution. |
| 18 | +
|
| 19 | + --deb [OR] -d |
| 20 | + Create a Debian Linux distribution. |
| 21 | +
|
| 22 | + |
14 | 23 | --installer [OR] -i |
15 | 24 | After running py2exe, produce an installer using Inno Setup |
16 | 25 | |
@@ -87,7 +96,7 @@ def assert_no_unknown_folders(): |
87 | 96 | folders_to_delete = [] |
88 | 97 | for folder in [os.path.join(garlicsim_wx_path, 'build'), |
89 | 98 | os.path.join(garlicsim_wx_path, 'garlicsim_wx.egg-info'), |
90 | | - os.path.join(repo_root_path, 'py2exe_dist')]: |
| 99 | + os.path.join(repo_root_path, 'win_dist')]: |
91 | 100 | if os.path.exists(folder): |
92 | 101 | folders_to_delete.append(folder) |
93 | 102 |
|
@@ -135,7 +144,7 @@ def assert_no_unknown_folders(): |
135 | 144 | os.chdir(old_cwd) |
136 | 145 |
|
137 | 146 | sys.stdout.write('Py2exe packaging complete. Distribution files are in the ' |
138 | | - '`py2exe_dist` folder.\n') |
| 147 | + '`win_dist` folder.\n') |
139 | 148 | # # |
140 | 149 | ### Finished packaging with py2exe. ########################################### |
141 | 150 |
|
|
0 commit comments