[SciPy-Dev] numpydoc installation and path
Denis Laxalde
denis.laxalde at mcgill.ca
Mon Feb 6 16:23:21 EST 2012
Hi,
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)
./numpydoc-0.4-py2.6.egg
/usr/lib/pymodules/python2.6
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?
Thanks.
--
Denis
More information about the SciPy-Dev
mailing list