Skip to content

Commit bb88b40

Browse files
committed
py2exe
1 parent 18fe01f commit bb88b40

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ Run in command line:
2626
```
2727
$ python src/tools/recovery.py [input.xlsx] [output.xlsx]
2828
```
29+
30+
Distribute as `.exe` (only for Windows):
31+
32+
```
33+
$ # install [py2exe](http://www.py2exe.org/)
34+
$ python src/setup.py py2exe
35+
```

src/setup.py

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env python
2+
# -*- coding: UTF-8 -*-
3+
4+
from __future__ import absolute_import
5+
from __future__ import division
6+
from __future__ import print_function
7+
8+
from distutils.core import setup
9+
10+
import py2exe
11+
12+
13+
setup(name='excel-password-recovery',
14+
windows=[{'script': 'src/gui-main.py'}],
15+
options={
16+
'py2exe': {
17+
'includes': ['Tkinter', 'tkFileDialog',
18+
'tkMessageBox', 'tools']
19+
}
20+
},
21+
)

0 commit comments

Comments
 (0)