Show More
@@ -122,7 +122,6 else: | |||
|
122 | 122 | |
|
123 | 123 | class IPythonConsoleApp(Configurable): |
|
124 | 124 | name = 'ipython-console-mixin' |
|
125 | default_config_file_name='ipython_config.py' | |
|
126 | 125 | |
|
127 | 126 | description = """ |
|
128 | 127 | The IPython Mixin Console. |
@@ -277,7 +277,6 notebook_aliases = [u'port', u'port-retries', u'ip', u'keyfile', u'certfile', | |||
|
277 | 277 | class NotebookApp(BaseIPythonApplication): |
|
278 | 278 | |
|
279 | 279 | name = 'ipython-notebook' |
|
280 | default_config_file_name='ipython_notebook_config.py' | |
|
281 | 280 | |
|
282 | 281 | description = """ |
|
283 | 282 | The IPython HTML Notebook. |
@@ -121,6 +121,10 class IPKernelApp(BaseIPythonApplication, InteractiveShellApp): | |||
|
121 | 121 | session = Instance('IPython.kernel.zmq.session.Session') |
|
122 | 122 | ports = Dict() |
|
123 | 123 | |
|
124 | # ipkernel doesn't get its own config file | |
|
125 | def _config_file_name_default(self): | |
|
126 | return 'ipython_config.py' | |
|
127 | ||
|
124 | 128 | # inherit config file name from parent: |
|
125 | 129 | parent_appname = Unicode(config=True) |
|
126 | 130 | def _parent_appname_changed(self, name, old, new): |
@@ -53,9 +53,6 from IPython.parallel.apps.baseapp import ( | |||
|
53 | 53 | #----------------------------------------------------------------------------- |
|
54 | 54 | |
|
55 | 55 | |
|
56 | default_config_file_name = u'ipcluster_config.py' | |
|
57 | ||
|
58 | ||
|
59 | 56 | _description = """Start an IPython cluster for parallel computing. |
|
60 | 57 | |
|
61 | 58 | An IPython cluster consists of 1 controller and 1 or more engines. |
@@ -176,7 +173,6 class IPClusterStop(BaseParallelApplication): | |||
|
176 | 173 | name = u'ipcluster' |
|
177 | 174 | description = stop_help |
|
178 | 175 | examples = _stop_examples |
|
179 | config_file_name = Unicode(default_config_file_name) | |
|
180 | 176 | |
|
181 | 177 | signal = Integer(signal.SIGINT, config=True, |
|
182 | 178 | help="signal to use for stopping processes.") |
@@ -247,7 +243,6 class IPClusterEngines(BaseParallelApplication): | |||
|
247 | 243 | description = engines_help |
|
248 | 244 | examples = _engines_examples |
|
249 | 245 | usage = None |
|
250 | config_file_name = Unicode(default_config_file_name) | |
|
251 | 246 | default_log_level = logging.INFO |
|
252 | 247 | classes = List() |
|
253 | 248 | def _classes_default(self): |
@@ -82,10 +82,6 else: | |||
|
82 | 82 | #----------------------------------------------------------------------------- |
|
83 | 83 | |
|
84 | 84 | |
|
85 | #: The default config file name for this application | |
|
86 | default_config_file_name = u'ipcontroller_config.py' | |
|
87 | ||
|
88 | ||
|
89 | 85 | _description = """Start the IPython controller for parallel computing. |
|
90 | 86 | |
|
91 | 87 | The IPython controller provides a gateway between the IPython engines and |
@@ -156,7 +152,6 class IPControllerApp(BaseParallelApplication): | |||
|
156 | 152 | name = u'ipcontroller' |
|
157 | 153 | description = _description |
|
158 | 154 | examples = _examples |
|
159 | config_file_name = Unicode(default_config_file_name) | |
|
160 | 155 | classes = [ProfileDir, Session, HubFactory, TaskScheduler, HeartMonitor, DictDB] + real_dbs |
|
161 | 156 | |
|
162 | 157 | # change default to True |
@@ -58,9 +58,6 from IPython.utils.traitlets import Bool, Unicode, Dict, List, Float, Instance | |||
|
58 | 58 | # Module level variables |
|
59 | 59 | #----------------------------------------------------------------------------- |
|
60 | 60 | |
|
61 | #: The default config file name for this application | |
|
62 | default_config_file_name = u'ipengine_config.py' | |
|
63 | ||
|
64 | 61 | _description = """Start an IPython engine for parallel computing. |
|
65 | 62 | |
|
66 | 63 | IPython engines run in parallel and perform computations on behalf of a client |
@@ -144,7 +141,6 class IPEngineApp(BaseParallelApplication): | |||
|
144 | 141 | name = 'ipengine' |
|
145 | 142 | description = _description |
|
146 | 143 | examples = _examples |
|
147 | config_file_name = Unicode(default_config_file_name) | |
|
148 | 144 | classes = List([ZMQInteractiveShell, ProfileDir, Session, EngineFactory, Kernel, MPI]) |
|
149 | 145 | |
|
150 | 146 | startup_script = Unicode(u'', config=True, |
@@ -40,8 +40,6 from IPython.parallel.apps.logwatcher import LogWatcher | |||
|
40 | 40 | #----------------------------------------------------------------------------- |
|
41 | 41 | |
|
42 | 42 | #: The default config file name for this application |
|
43 | default_config_file_name = u'iplogger_config.py' | |
|
44 | ||
|
45 | 43 | _description = """Start an IPython logger for parallel computing. |
|
46 | 44 | |
|
47 | 45 | IPython controllers and engines (and your own processes) can broadcast log messages |
@@ -64,8 +62,6 class IPLoggerApp(BaseParallelApplication): | |||
|
64 | 62 | |
|
65 | 63 | name = u'iplogger' |
|
66 | 64 | description = _description |
|
67 | config_file_name = Unicode(default_config_file_name) | |
|
68 | ||
|
69 | 65 | classes = [LogWatcher, ProfileDir] |
|
70 | 66 | aliases = Dict(aliases) |
|
71 | 67 |
@@ -58,9 +58,6 from IPython.utils.traitlets import ( | |||
|
58 | 58 | # Globals, utilities and helpers |
|
59 | 59 | #----------------------------------------------------------------------------- |
|
60 | 60 | |
|
61 | #: The default config file name for this application. | |
|
62 | default_config_file_name = u'ipython_config.py' | |
|
63 | ||
|
64 | 61 | _examples = """ |
|
65 | 62 | ipython --pylab # start in pylab mode |
|
66 | 63 | ipython --pylab=qt # start in pylab mode with the qt4 backend |
@@ -203,7 +200,6 class LocateIPythonApp(BaseIPythonApplication): | |||
|
203 | 200 | class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp): |
|
204 | 201 | name = u'ipython' |
|
205 | 202 | description = usage.cl_usage |
|
206 | default_config_file_name = default_config_file_name | |
|
207 | 203 | crash_handler_class = IPAppCrashHandler |
|
208 | 204 | examples = _examples |
|
209 | 205 | |
@@ -380,7 +376,7 def load_default_config(ipython_dir=None): | |||
|
380 | 376 | if ipython_dir is None: |
|
381 | 377 | ipython_dir = get_ipython_dir() |
|
382 | 378 | profile_dir = os.path.join(ipython_dir, 'profile_default') |
|
383 |
cl = PyFileConfigLoader( |
|
|
379 | cl = PyFileConfigLoader("ipython_config.py", profile_dir) | |
|
384 | 380 | try: |
|
385 | 381 | config = cl.load_config() |
|
386 | 382 | except ConfigFileNotFound: |
General Comments 0
You need to be logged in to leave comments.
Login now