On Wed, Jan 28, 2009 at 11:03 AM, zooko <span dir="ltr"><<a href="mailto:zooko@zooko.com">zooko@zooko.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
David 2. entry_points doesn't work when the svn checkout is just in PYTHONPATH or ".", and fails if there is a non-existent directory on his PYTHONPATH.<br>
</blockquote><div><br>Probably this is because the package isn't activated, and if it's not activated you can't see its entry point. When a .pth file is on PYTHONPATH, Python won't load it up (it only loads .pth files in some specific locations). So while easy-install.pth would normally activate a package (by adding it to sys.path), with PYTHONPATH that doesn't work.<br>
<br>I think the site.py that Setuptools will sometimes create is intended to address this, but it might not always work.<br></div></div><br>Or there might be some entirely different problem I'm unaware of.<br><br>-- <br>
Ian Bicking | <a href="http://blog.ianbicking.org">http://blog.ianbicking.org</a><br>