[IPython-user] small problem and feature request for 0.8 egg

Ryan Krauss ryanlists@gmail....
Wed May 2 13:48:53 CDT 2007


So, I googled for simple bat files and came up with enough information
to try this:

@echo off
start numpy-1.0.1.win32-py2.4.exe
start scipy-0.5.2.win32-py2.4.exe
start matplotlib-0.87.7.win32-py2.4.exe

which I put in a directory where I had the exe's.  The only problem is
that they are not synchronous.  So, all 3 popped up and I ended up
running them in reverse order (I don't know if the order matters).

My next thought was to try:
@echo off
start numpy-1.0.1.win32-py2.4.exe
pause
start scipy-0.5.2.win32-py2.4.exe
pause
start matplotlib-0.87.7.win32-py2.4.exe

which installs them in the order that make the most sense to me, but I
have to press a key in the dos menu when I am done.

Any thoughts on how to clean this up just a bit?

Thanks,

Ryan

On 5/2/07, Ryan Krauss <ryanlists@gmail.com> wrote:
> I am not very .bat file aware.  Do you have a simple example of a .bat
> file that does multiple installs?  This would be a great solution, I
> think.  As I understand it, I would gather all the appropriate exe's
> and bundle them in one zip with this .bat file.  The students would
> only need to run that file, presumably by double clicking it.  That
> would be great.
>
> Ryan
>
> On 5/2/07, Ville M. Vainio <vivainio@gmail.com> wrote:
> > On 5/2/07, Ryan Krauss <ryanlists@gmail.com> wrote:
> >
> > > convince them to try it.  While IPython is a great tool, it depends on
> > > pyreadline, ctypes, pywin32 and maybe one more under windows.  This
> > > frigthens some of them (maybe they are easily frightened).  So, how do
> >
> > Just put all the installers in a zip package and distribute that (with
> > install_all.bat or something, then they can just click
> > next-next-next).
> >
> > ctypes comes with python 2.5 and pywin32 is optional. pyreadline is
> > the only "must" and that will be bundled with ipython anyway, so
> > things are looking pretty good on win32 department.
> >
> > > itself).  Any better thoughts are welcome.  The obvious problem is
> > > that making it easy to install may trade off against making it easy to
> > > maintain.  Eggs and enstaller seem promising in that regard.
> >
> > I wouldn't be worried about that myself.
> >
> > You could also "sell" ipython by recommending it as cmd.exe
> > replacement, using the "sh" profile (start menu -> IPython -> pysh).
> >
> > Also, I'll add your scipy link to start menu.
> >
> > --
> > Ville M. Vainio - vivainio.googlepages.com
> > blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
> >
>


More information about the IPython-user mailing list