[IPython-dev] Re: [IPython-user] A cry for help: I give up with Windows installers

Viktor Ransmayr viktor.ransmayr at t-online.de
Fri Jun 11 05:14:01 EDT 2004


Hi Fernando,

I've tried to build the windows-installer from source using 
"IPython-0.6.1.cvs.tar.gz".

Executing  "python setup.py bdist_wininst 
--install-script=ipython_win_post_install.py"
I get the following traceback:

removing 'build\bdist.win32\wininst' (and everything under it)
Traceback (most recent call last):
  File "setup.py", line 130, in ?
    ipython_win_post_install.run(wait=1)
  File 
"D:\Environments\Python\IPython\IPython-0.6.1.cvs\ipython_win_post_install.py", 
line 83, in run
    shutil.copy(sys.prefix+'\\Scripts\\ipython',ip_filename)
  File "D:\Python23\lib\shutil.py", line 71, in copy
    copyfile(src, dst)
  File "D:\Python23\lib\shutil.py", line 37, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 
'D:\\Python23\\Scripts\\ipython'

The windows-installer is created however ...

The way I interprete it is that setup.py (?) doesn't create the 
subdirectory "ipython".

Since it's the first time that I play around w/ distutils I failed to 
provide a patch. -  I hope that I provided
enough info for you to fix the problem. - I'm happy to try out any new 
version from your side.

Regards,

    Viktor

PS: For completeness I'm attaching the stripped build log.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bdist_wininst_stripped_log
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20040611/d4b1866b/attachment.ksh>


More information about the IPython-dev mailing list