[SciPy-Dev] numpydoc installation and path

Denis Laxalde denis.laxalde@mcgill...
Mon Feb 6 15:23:21 CST 2012


While trying to build scipy's documentation, I had to install numpydoc
(python setup.py --install --user). This apparently generates an
'easy-install.pth' file which contains:

 import sys; sys.__plen = len(sys.path)
 import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

This happens to break the python path prepending
/usr/lib/pymodules/python2.6 and numpydoc-0.4-py2.6.egg.

What is the purpose of this? Is that intended?



More information about the SciPy-Dev mailing list