[IPython-dev] standalone ipython exe (py2exe)

Ville M. Vainio vivainio at gmail.com
Wed May 23 16:50:57 EDT 2007


On 5/23/07, Ville M. Vainio <vivainio at gmail.com> wrote:

> I started up a little experimental setup script, "exesetup.py". With
> py2exe, it can be used ts create standalone ipython executables that
> don't require python, pyreadline or anything else installed. It kinda
> sorta seems to work, but please try it out.

It's now a pretty neat ~ 8 meg package:

D:\ipython\dist>ls -s
total 7733
 352 MSVCR71.dll     80 bz2.pyd             16 select.pyd
  80 _ctypes.pyd     16 ipython.exe        464 unicodedata.pyd
 320 _hashlib.pyd  3392 library.zip          5 w9xpopen.exe
  64 _socket.pyd   2064 python25.dll        16 win32clipboard.pyd
 640 _ssl.pyd       112 pywintypes25.dll   112 win32security.pyd

D:\ipython\dist>ipython -p sh
Py 2.5.1c1 (r251c1:54692, Apr  5 2007, 09:19:18) [MSC v.1310 32 bit (Intel)] IPy
 0.8.2.svn.r2355
[ipython\dist]|1> import IPython
[ipython\dist]|2> IPy
IPython     ipython.exe
[ipython\dist]|2> IPython
              <2> <module 'IPython' from 'D:\ipython\dist\library.zip\IPython\__
init__.pyc'>


All the stuff (pyreadline, IPython, stdlib etc.) is in library.zip.

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



More information about the IPython-dev mailing list