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 |
+ |
+# Make sure hidden imports are found |
+import sitescripts.cms.bin.test_server |
+import markdown.extensions.attr_list |
+ |
+sys.argv[1:] = ["."] |
Sebastian Noack
2013/12/12 12:59:00
I would prefer to use os.curdir here.
|
+runpy.run_module("sitescripts.cms.bin.test_server", run_name="__main__") |