setupegg.py: 'rm' is not recognized as an internal or external command

Bug #505009 reported by Sridhar Ratnakumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Fix Committed
Undecided
Fernando Perez

Bug Description

Running "python setupegg.py install" on Windows, installs successfully .. but ends with this error message:

   'rm' is not recognized as an internal or external command,^M
operable program or batch file.^M

A fix could be to replace "os.system('rm -rf ipython.egg-info build')" with the one that uses ``shutil.rmtree``.

Fortunately, this does not make setupegg.py to exit with non-zero return code (thus denoting a 'build failure' in our build code).

Related branches

Revision history for this message
Fernando Perez (fdo.perez) wrote :

Thanks, fix committed both to trunk-dev and 0.10.1

Changed in ipython:
milestone: none → 0.11
assignee: nobody → Fernando Perez (fdo.perez)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.