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__") |