##// END OF EJS Templates
allow IPython to run without writable home dir...
allow IPython to run without writable home dir get_ipython_dir() ensures that the *IPython* dir is writable, which is more relevant, but the home dir need not be writable. Some optional behaviors (e.g. `%logstart global`) will not work if the home dir is not writable, but IPython should not crash. Approximately no other operations actually depend on writing directly to $HOME.

File last commit:

r4924:113dc5b1
r5384:db42b5f7
Show More
setup.py
11 lines | 200 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""This calls the setup routine for Python 2 or 3 as required."""
import sys
if sys.version_info[0] >= 3:
from setup3 import main
else:
from setup2 import main
main()