[IPython-dev] A question on the win32 installer

Fernando Perez fperez.net at gmail.com
Sun May 13 19:45:10 EDT 2007


Hi all,

I'm a bit confused by what we have on the post-install script front.
We have the following:


tlon[ipython]> pwd
/home/fperez/ipython/svn/ipython/trunk
tlon[ipython]> ls win32_manual_post_install.py
win32_manual_post_install.py*
tlon[ipython]> ls scripts/ipython_win_post_install.py
scripts/ipython_win_post_install.py*

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.

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.

What do our win32 gurus say?

Cheers,

f



More information about the IPython-dev mailing list