 Issue 6236544096534528:
  Issue 2578 - Refactored and added missing hidden import  (Closed)
    
  
    Issue 6236544096534528:
  Issue 2578 - Refactored and added missing hidden import  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python | 
| 2 # 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. ;)
 | |
| 3 | 2 | 
| 4 import runpy | 3 import runpy | 
| 5 import sys | |
| 6 import os | |
| 7 | |
| 8 # Make sure hidden imports are found | |
| 9 import cms.bin.test_server | |
| 10 import markdown.extensions.attr_list | |
| 11 | |
| 12 if len(sys.argv) < 2: | |
| 13 sys.argv.append(os.curdir) | |
| 14 runpy.run_module("cms.bin.test_server", run_name="__main__") | 4 runpy.run_module("cms.bin.test_server", run_name="__main__") | 
| OLD | NEW |