[IPython-dev] A question on the win32 installer

Ville M. Vainio vivainio at gmail.com
Mon May 14 02:33:15 EDT 2007

On 5/14/07, Fernando Perez <fperez.net at gmail.com> wrote:

> Recent patches to the installer went into the one under scripts/, and
> the 'release' script has the following stanza:
> ./setup.py bdist_wininst --install-script=ipython_win_post_install.py
> My questions are:
> 1. Is that stanza really correct?  It doesn't use a path, so I don't
> know if it will really be picked up as it should at runtime.  But
> maybe it will because it's listed in the scripts/ part of setup.py, I
> dunno.

Yes, it is correct and picked up correctly on runtime.

> 2. Is the file win32_manual_post_install.py really needed?  I realize
> one seems to be for manual installs, but I wonder if we can't merge
> them into a single script.  I worry about the duplication and chances
> for them diverging, the need for duplicate maintenance as one is
> changed, etc.

Yeah, we could merge them into one script. In fact, I think we should
only have one script that the installer launches, and most of the work
would be performed by a normal functions, e.g.
IPython.installer.shortcuts - which, when launched outside the windows
installer, would of course require pywin32 exension.

I don't see too much rush with this, though. Does anyone even use the
manual install script?

Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'

More information about the IPython-dev mailing list