@@ -113,12 +113,12 @@ def find_launcher_class(clsname, kind):
113
113
Either 'EngineSet' or 'Controller'.
114
114
"""
115
115
if '.' not in clsname :
116
- # not a module, presume it's the raw name in apps .launcher
116
+ # not a module, presume it's the raw name in cluster .launcher
117
117
if kind and kind not in clsname :
118
118
# doesn't match necessary full class name, assume it's
119
119
# just 'PBS' or 'MPI' etc prefix:
120
120
clsname = clsname + kind + 'Launcher'
121
- clsname = 'ipyparallel.apps .launcher.' + clsname
121
+ clsname = 'ipyparallel.cluster .launcher.' + clsname
122
122
klass = import_item (clsname )
123
123
return klass
124
124
@@ -251,10 +251,9 @@ class IPClusterEngines(BaseParallelApplication):
251
251
classes = List ()
252
252
253
253
def _classes_default (self ):
254
- from ipyparallel .apps import launcher
254
+ from ipyparallel .cluster . launcher import all_launchers
255
255
256
- launchers = launcher .all_launchers
257
- eslaunchers = [l for l in launchers if 'EngineSet' in l .__name__ ]
256
+ eslaunchers = [l for l in all_launchers if 'EngineSet' in l .__name__ ]
258
257
return [ProfileDir ] + eslaunchers
259
258
260
259
n = Integer (
@@ -488,9 +487,9 @@ class IPClusterStart(IPClusterEngines):
488
487
def _classes_default (
489
488
self ,
490
489
):
491
- from ipyparallel .apps import launcher
490
+ from ipyparallel .cluster . launcher import all_launchers
492
491
493
- return [ProfileDir ] + [IPClusterEngines ] + launcher . all_launchers
492
+ return [ProfileDir ] + [IPClusterEngines ] + all_launchers
494
493
495
494
clean_logs = Bool (
496
495
True , config = True , help = "whether to cleanup old logs before starting"
@@ -506,7 +505,7 @@ def _classes_default(
506
505
controller_location = Unicode (
507
506
config = True ,
508
507
help = """Set the location (hostname or ip) of the controller.
509
-
508
+
510
509
This is used by engines and clients to locate the controller
511
510
when the controller listens on all interfaces
512
511
""" ,
0 commit comments