##// END OF EJS Templates
use `-m` entry points in parallel launchers
MinRK -
Show More
@@ -76,13 +76,11 b" WINDOWS = os.name == 'nt'"
76 # Paths to the kernel apps
76 # Paths to the kernel apps
77 #-----------------------------------------------------------------------------
77 #-----------------------------------------------------------------------------
78
78
79 cmd = "from IPython.parallel.apps.%s import launch_new_instance; launch_new_instance()"
79 ipcluster_cmd_argv = [sys.executable, "-m", "IPython.parallel.cluster"]
80
80
81 ipcluster_cmd_argv = [sys.executable, "-c", cmd % "ipclusterapp"]
81 ipengine_cmd_argv = [sys.executable, "-m", "IPython.parallel.engine"]
82
82
83 ipengine_cmd_argv = [sys.executable, "-c", cmd % "ipengineapp"]
83 ipcontroller_cmd_argv = [sys.executable, "-m", "IPython.parallel.controller"]
84
85 ipcontroller_cmd_argv = [sys.executable, "-c", cmd % "ipcontrollerapp"]
86
84
87 #-----------------------------------------------------------------------------
85 #-----------------------------------------------------------------------------
88 # Base launchers and errors
86 # Base launchers and errors
General Comments 0
You need to be logged in to leave comments. Login now