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

Side by Side Diff: sitescripts/cms/runserver.spec

Issue 5395911630913536: Added PyInstaller spec to create stand-alone CMS builds (Closed)
Patch Set: Created Dec. 12, 2013, 11:17 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(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 )
OLDNEW
« sitescripts/cms/bin/runserver.py ('K') | « sitescripts/cms/bin/runserver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld