<br><br><div class="gmail_quote">On Mon, Oct 24, 2011 at 4:18 PM, nicky van foreest <span dir="ltr"><<a href="mailto:vanforeest@gmail.com">vanforeest@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for your support. I guess this is the right sequence:<br>
<div class="im"><br>
nicky@chuck:~$ python<br>
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)<br>
[GCC 4.6.1] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import peak.util<br>
</div>>>> import pkg_resources<br>
>>> pkg_resources.declare_namespace('peak.util')<br>
<div class="im">>>> pkg_resources.require('AddOns')<br>
[AddOns 0.7 (/home/nicky/lib/python/AddOns-0.7-py2.7.egg),<br>
DecoratorTools 1.8<br>
(/home/nicky/lib/python/DecoratorTools-1.8-py2.7.egg)]<br>
>>> print peak.util.__path__<br>
['/home/nicky/lib/python/Extremes-1.1.1-py2.7.egg/peak/util']<br>
>>> import peak.util.addons<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>
ImportError: No module named addons<br></div></blockquote><div><br></div><div>Ugh. Oh. Actually, I just thought of something. At the beginning, import peak and then print peak.__path__ too. I think I may've missed something there.</div>
</div>