author | Ross Qin <ross.qin@nokia.com> |
Thu, 28 Oct 2010 11:39:28 +0800 | |
changeset 669 | ac2dc5c059f3 |
parent 587 | 85df38eb4012 |
permissions | -rw-r--r-- |
587 | 1 |
import sys; sys.__plen = len(sys.path) |
2 |
./setuptools-0.6c5-py2.5.egg |
|
3 |
./docutils-0.5-py2.5.egg |
|
4 |
./Jinja-1.2-py2.5-win32.egg |
|
5 |
./pygments-0.10-py2.5.egg |
|
6 |
./sphinx-0.5.1-py2.5.egg |
|
7 |
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) |