##// END OF EJS Templates
IPython dir has been renamed to .ipython on Windows....
Brian Granger -
Show More
@@ -787,12 +787,9 b' def get_ipython_dir():'
787 """Get the IPython directory for this platform and user.
787 """Get the IPython directory for this platform and user.
788
788
789 This uses the logic in `get_home_dir` to find the home directory
789 This uses the logic in `get_home_dir` to find the home directory
790 and the adds either .ipython or _ipython to the end of the path.
790 and the adds .ipython to the end of the path.
791 """
791 """
792 if os.name == 'posix':
792 ipdir_def = '.ipython'
793 ipdir_def = '.ipython'
794 else:
795 ipdir_def = '_ipython'
796 home_dir = get_home_dir()
793 home_dir = get_home_dir()
797 ipdir = os.path.abspath(os.environ.get('IPYTHONDIR',
794 ipdir = os.path.abspath(os.environ.get('IPYTHONDIR',
798 os.path.join(home_dir, ipdir_def)))
795 os.path.join(home_dir, ipdir_def)))
General Comments 0
You need to be logged in to leave comments. Login now