##// END OF EJS Templates
Add warning if IPYTHON_DIR is defined.
Bradley M. Froehle -
Show More
@@ -260,6 +260,9 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 if 'IPYTHON_DIR' in env:
264 warnings.warn('The environment variable IPYTHON_DIR is deprecated. '
265 'Please use IPYTHONDIR instead.')
263 ipdir = env.get('IPYTHONDIR', env.get('IPYTHON_DIR', None))
266 ipdir = env.get('IPYTHONDIR', env.get('IPYTHON_DIR', None))
264 if ipdir is None:
267 if ipdir is None:
265 # not set explicitly, use XDG_CONFIG_HOME or HOME
268 # not set explicitly, use XDG_CONFIG_HOME or HOME
General Comments 0
You need to be logged in to leave comments. Login now