author | Zheng Shen <zheng.shen@nokia.com> |
Wed, 13 Oct 2010 16:27:55 +0800 | |
changeset 647 | 53d1ab72f5bc |
parent 587 | 85df38eb4012 |
permissions | -rw-r--r-- |
import sys; sys.__plen = len(sys.path) ./setuptools-0.6c5-py2.5.egg ./docutils-0.5-py2.5.egg ./Jinja-1.2-py2.5-win32.egg ./pygments-0.10-py2.5.egg ./sphinx-0.5.1-py2.5.egg 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)