Index: runserver.py |
=================================================================== |
--- a/runserver.py |
+++ b/runserver.py |
@@ -1,14 +1,4 @@ |
#!/usr/bin/env python |
-# This is a stub script loading test_server module, used by PyInstaller. |
Sebastian Noack
2015/05/22 21:19:27
This script is no longer needed as wrapper for PyI
Sebastian Noack
2015/05/22 21:20:10
Heh, I meant for convenience of course. ;)
|
import runpy |
-import sys |
-import os |
- |
-# Make sure hidden imports are found |
-import cms.bin.test_server |
-import markdown.extensions.attr_list |
- |
-if len(sys.argv) < 2: |
- sys.argv.append(os.curdir) |
runpy.run_module("cms.bin.test_server", run_name="__main__") |