Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 # PyInstaller spec, "run pyinstaller sitescripts/cms/runserver.spec" from sitesc ripts root to build | |
2 | |
3 a = Analysis( | |
4 ['sitescripts/cms/bin/runserver.py'], | |
5 pathex=['.'], | |
6 hiddenimports=[], | |
Sebastian Noack
2013/12/12 12:59:00
Why don't you list hidden imports here instead of
Wladimir Palant
2013/12/16 13:03:55
Because they don't work here - I tried.
| |
7 hookspath=None, | |
Sebastian Noack
2013/12/12 12:59:00
I think you can omit hookspath and runtime_hooks.
Wladimir Palant
2013/12/16 13:03:55
That's autogenerated boilerplate but I can remove
| |
8 runtime_hooks=None, | |
9 excludes=['sqlite3', 'django', 'ssl', '_ssl', 'OpenSSL', '_hashlib', 'unittest '], | |
10 ) | |
11 | |
12 pyz = PYZ(a.pure) | |
13 | |
14 exe = EXE( | |
15 pyz, | |
16 a.scripts, | |
17 a.binaries, | |
18 a.zipfiles, | |
19 a.datas, | |
20 name='runserver', | |
21 debug=False, | |
22 strip=None, | |
23 upx=False, | |
24 console=True | |
25 ) | |
OLD | NEW |