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