Show More
@@ -186,7 +186,7 b' class BaseIPythonApplication(Application):' | |||
|
186 | 186 | if not os.path.exists(readme): |
|
187 | 187 | path = os.path.join(get_ipython_package_dir(), u'config', u'profile') |
|
188 | 188 | shutil.copy(os.path.join(path, 'README'), readme) |
|
189 |
self.log.debug("IPYTHON |
|
|
189 | self.log.debug("IPYTHONDIR set to: %s" % new) | |
|
190 | 190 | |
|
191 | 191 | def load_config_file(self, suppress_errors=True): |
|
192 | 192 | """Load the config file. |
@@ -260,7 +260,7 b' def get_ipython_dir():' | |||
|
260 | 260 | xdg_dir = get_xdg_dir() |
|
261 | 261 | |
|
262 | 262 | # import pdb; pdb.set_trace() # dbg |
|
263 |
ipdir = env.get('IPYTHON |
|
|
263 | ipdir = env.get('IPYTHONDIR', env.get('IPYTHON_DIR', None)) | |
|
264 | 264 | if ipdir is None: |
|
265 | 265 | # not set explicitly, use XDG_CONFIG_HOME or HOME |
|
266 | 266 | home_ipdir = pjoin(home_dir, ipdir_def) |
General Comments 0
You need to be logged in to leave comments.
Login now