[IPython-dev] 0.9 beta, anything left?
Fri Aug 15 16:29:19 CDT 2008
On Fri, Aug 15, 2008 at 1:02 PM, Laurent Dufrechou
> Hi Gael
>> You have to keep in mind that it will be installed in a location where
>> the user might not be able to write. You do have a file in the user
>> directory, right?
>> You need to add this file to the package data, in the setup.py, for it
>> be installed. In ipython this is in setupbase.py, function
> You mean installed in user directory or Ipython/gui/wx?
> For the moment as I've got little time to work on it, I prefer to let it as
> is in wx directory, it just permits wxIpython to run and user (under linux)
> will not be able to save it's settings.
> Will try to find a workaround for the user directory as you said. Do you
> have an idea how user directory is defined under windows?
> Under linux it's ~/ but under windows I do not have any idea yet how to find
> it ... :)
The ipython directory is where you should be storing things:
In : from IPython.ipapi import get
In : ip = get()
In : ip.IP.rc.ipythondir
This will be correctly computed under windows, users can set it via a
variable, etc. All ipython code should access that guy instead of
computing it directly. If you need to get the user's home dir, use
In : from IPython import genutils
In : genutils.get_home_dir
It also tries to do the right thing under Win32.
As for your code: please follow the pattern we've been using lately:
have a synced branch that we can review on launchpad, keep it synced
to trunk, and mark it for merging with the trunk. See for example how
Vivian is doing it:
This way I or others can quickly review your changes, and if they are
OK, the merge process is quick and easy. For example, right now I can
go to vivian's review section:
and see exactly what's there that is unique to this branch. We've
gone back and forth a few times, and she keeps improving the state of
the code, until we can merge it into the trunk.
Let us know if you have any questions on this, or see my recent email
to Vivian with the details and commands you need to type to make this
work. Once you have it running, it's very easy to use.
More information about the IPython-dev