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