Re: peak/utils/addons import problem

nicky van foreest <[email protected]> Sun, 23 Oct 2011 23:37:23 +0200
Newsgroups gmane.comp.python.peak
Message-ID <CAK_GA2HXQ_GP+JBGaxVABLbvGqAvxh3JeML3XJQCtnDU7h+p+g@mail.gmail.com>
I did some tinkering with easy-install.pth. The output in my previous
mail is not correct. This is correct:

nicky@chuck:~/lib/python$ cat easy-install.pth
import sys; sys.__plen = len(sys.path)
./Trellis-0.7a2
./Extremes-1.1.1-py2.7.egg
./Contextual-0.7a1.dev_r2695-py2.7.egg
./DecoratorTools-1.8-py2.7.egg
./AddOns-0.7-py2.7.egg
./SymbolType-1.0-py2.7.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)

To check whether there was a problem with Extremes I just deleted the
associated line, but this did not change anything, at least not
noticeable.