Show More
@@ -68,10 +68,12 b' ipengine_cmd_argv = [sys.executable, "-m", "IPython.parallel.engine"]' | |||||
68 | ipcontroller_cmd_argv = [sys.executable, "-m", "IPython.parallel.controller"] |
|
68 | ipcontroller_cmd_argv = [sys.executable, "-m", "IPython.parallel.controller"] | |
69 |
|
69 | |||
70 | if WINDOWS and sys.version_info < (3,): |
|
70 | if WINDOWS and sys.version_info < (3,): | |
71 |
# `python -m package` doesn't work on Windows Python 2 |
|
71 | # `python -m package` doesn't work on Windows Python 2 | |
72 | # but `python -m module` does. |
|
72 | # due to weird multiprocessing bugs | |
73 | ipengine_cmd_argv = [sys.executable, "-m", "IPython.parallel.apps.ipengineapp"] |
|
73 | # and python -m module puts classes in the `__main__` module, | |
74 | ipcontroller_cmd_argv = [sys.executable, "-m", "IPython.parallel.apps.ipcontrollerapp"] |
|
74 | # so instance checks get confused | |
|
75 | ipengine_cmd_argv = [sys.executable, "-c", "from IPython.parallel.engine.__main__ import main; main()"] | |||
|
76 | ipcontroller_cmd_argv = [sys.executable, "-c", "from IPython.parallel.controller.__main__ import main; main()"] | |||
75 |
|
77 | |||
76 | #----------------------------------------------------------------------------- |
|
78 | #----------------------------------------------------------------------------- | |
77 | # Base launchers and errors |
|
79 | # Base launchers and errors |
General Comments 0
You need to be logged in to leave comments.
Login now