[IPython-dev] Creation of .ipython directory

Brian Granger ellisonbg.net at gmail.com
Sat Mar 21 00:48:47 EDT 2009


Hi,

Previously, the only IPython command line program that used the
.ipython directory was "ipython" itself.  Now, however, other command
line programs (ipcluster, ipcontroller, ipengine) also use the
.ipython directory.  A user just found a bug where they ran
"ipcluster" *before* "ipython" was ever run on their system.  Thus,
"ipcluster" couldn't find the .ipython directory and an exception was
raised.

So, I have a question:  where in the IPython code base is the code
that looks to see if the .ipython directory exists and then creates it
if not?  Should this same code be called by all IPython processes that
might need the .ipython directory?

Cheers,

Brian



More information about the IPython-dev mailing list