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

Unified Diff: sitescripts/cms/bin/runserver.py

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 | « .hgignore ('k') | sitescripts/cms/runserver.spec » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/cms/bin/runserver.py
===================================================================
new file mode 100755
--- /dev/null
+++ b/sitescripts/cms/bin/runserver.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+# This is a stub script loading test_server module, used by PyInstaller.
+
+import runpy, sys, os
+
+# Make sure hidden imports are found
+import sitescripts.cms.bin.test_server
+import markdown.extensions.attr_list
+
+sys.argv[1:] = [os.curdir]
+runpy.run_module("sitescripts.cms.bin.test_server", run_name="__main__")
« no previous file with comments | « .hgignore ('k') | sitescripts/cms/runserver.spec » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld