| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 # PyInstaller spec, "run pyinstaller sitescripts/cms/runserver.spec" from sitesc ripts root to build | 1 # PyInstaller spec, run "pyinstaller sitescripts/cms/runserver.spec" from sitesc ripts root to build |
| 2 | 2 |
| 3 a = Analysis( | 3 a = Analysis( |
| 4 ['sitescripts/cms/bin/runserver.py'], | 4 ['sitescripts/cms/bin/runserver.py'], |
| 5 pathex=['.'], | 5 pathex=['.'], |
| 6 hiddenimports=[], | 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 '], | 7 excludes=['sqlite3', 'django', 'ssl', '_ssl', 'OpenSSL', '_hashlib', 'unittest '], |
| 10 ) | 8 ) |
| 11 | 9 |
| 12 pyz = PYZ(a.pure) | 10 pyz = PYZ(a.pure) |
| 13 | 11 |
| 14 exe = EXE( | 12 exe = EXE( |
| 15 pyz, | 13 pyz, |
| 16 a.scripts, | 14 a.scripts, |
| 17 a.binaries, | 15 a.binaries, |
| 18 a.zipfiles, | 16 a.zipfiles, |
| 19 a.datas, | 17 a.datas, |
| 20 name='runserver', | 18 name='runserver', |
| 21 debug=False, | 19 debug=False, |
| 22 strip=None, | 20 strip=None, |
| 23 upx=False, | 21 upx=False, |
| 24 console=True | 22 console=True |
| 25 ) | 23 ) |
| LEFT | RIGHT |