[IPython-dev] Weird PYTHONPATH, etc. issue

David Warde-Farley d.warde.farley at gmail.com
Mon Sep 24 16:35:19 EDT 2012


On Mon, Sep 24, 2012 at 3:25 PM, David Warde-Farley
<d.warde.farley at gmail.com> wrote:

> Hmm, this doesn't seem to work, unfortunately. At least, a whole lot
> of .egg directories get added to the front of sys.path after
> usercustomize.py in ~/.local/lib/site-packages is executed, including
> the IPython egg directory. How very annoying.

Great, and setuptools path mangling means that all that garbage is
also added *before* whatever's added by $PYTHONPATH, so I can't put
~/src/ipython at the front of the PYTHONPATH to fix it.

Thanks a lot, setuptools. So am I cooked?

David



More information about the IPython-dev mailing list