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

Unified Diff: sitescripts/cms/runserver.spec

Issue 5395911630913536: Added PyInstaller spec to create stand-alone CMS builds (Closed)
Patch Set: Created Dec. 16, 2013, 1:03 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sitescripts/cms/bin/runserver.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/cms/runserver.spec
===================================================================
new file mode 100644
--- /dev/null
+++ b/sitescripts/cms/runserver.spec
@@ -0,0 +1,23 @@
+# PyInstaller spec, run "pyinstaller sitescripts/cms/runserver.spec" from sitescripts root to build
+
+a = Analysis(
+ ['sitescripts/cms/bin/runserver.py'],
+ pathex=['.'],
+ hiddenimports=[],
+ excludes=['sqlite3', 'django', 'ssl', '_ssl', 'OpenSSL', '_hashlib', 'unittest'],
+)
+
+pyz = PYZ(a.pure)
+
+exe = EXE(
+ pyz,
+ a.scripts,
+ a.binaries,
+ a.zipfiles,
+ a.datas,
+ name='runserver',
+ debug=False,
+ strip=None,
+ upx=False,
+ console=True
+)
« no previous file with comments | « sitescripts/cms/bin/runserver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld