Left: | ||
Right: |
OLD | NEW |
---|---|
1 # PyInstaller spec, run "pyinstaller runserver.spec" from repository root to bui ld | 1 # PyInstaller spec, run "pyinstaller runserver.spec" from repository root to bui ld |
2 | 2 |
3 a = Analysis( | 3 a = Analysis( |
4 ['runserver.py'], | 4 ['runserver.py'], |
5 pathex=['.'], | 5 pathex=['.'], |
6 hiddenimports=[], | 6 hiddenimports=[], |
7 excludes=['sqlite3', 'django', 'ssl', '_ssl', 'OpenSSL', '_hashlib', 'unittest '], | 7 excludes=[ |
8 'distutils', | |
9 'doctest', | |
10 'ssl', | |
11 '_ssl', | |
12 'werkzeug', | |
Sebastian Noack
2015/03/21 11:26:48
Are you sure we should exclude werkzeug from the b
Wladimir Palant
2015/03/21 11:36:34
It pulls in lots of dependencies, and the debugger
Sebastian Noack
2015/03/21 12:51:45
Fair enough.
| |
13 | |
14 # Mac-specific | |
15 'Carbon', | |
16 'Finder', | |
17 'StdSuites', | |
18 ], | |
8 ) | 19 ) |
9 | 20 |
10 pyz = PYZ(a.pure) | 21 pyz = PYZ(a.pure) |
11 | 22 |
12 exe = EXE( | 23 exe = EXE( |
13 pyz, | 24 pyz, |
14 a.scripts, | 25 a.scripts, |
15 a.binaries, | 26 a.binaries, |
16 a.zipfiles, | 27 a.zipfiles, |
17 a.datas, | 28 a.datas, |
18 name='runserver', | 29 name='runserver', |
19 debug=False, | 30 debug=False, |
20 strip=None, | 31 strip=None, |
21 upx=False, | 32 upx=False, |
22 console=True | 33 console=True |
23 ) | 34 ) |
OLD | NEW |