Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: sitescripts/cms/runserver.spec

Issue 5395911630913536: Added PyInstaller spec to create stand-alone CMS builds (Closed)
Left Patch Set: Created Dec. 12, 2013, 11:17 a.m.
Right Patch Set: Created Dec. 16, 2013, 1:03 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « sitescripts/cms/bin/runserver.py ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 )
LEFTRIGHT

Powered by Google App Engine
This is Rietveld