[Distutils] ANN: buildutils-0.1.0 - Distutils extensions for developing Python libraries and applications.
Kevin Dangoor
dangoor at gmail.com
Fri Jul 8 22:21:37 CEST 2005
On 7/8/05, Phillip J. Eby <pje at telecommunity.com> wrote:
> >Removing the older egg from the easy-install.pth file fixed this
> >problem... I was able to find the new version that was linked in just
> >fine.
>
> Sounds like it is working for you, then. :)
>
> Seriously, pkg_resources is very conservative right now about versioning;
> if you install something without the -m flag, then you are telling it that
> that is the version you want to use, period. Part of the problem is that
> pkg_resources adds new versions to the *end* of sys.path, which means that
> if you have an older version already on sys.path when you ask for the newer
> one, there's no way that pkg_resources can safely change the path to allow
> the new version to take effect.
Ahh, that makes sense to me now.
I discovered that I even had another copy of that package lying around
on my path (left over from when I expanded the egg for py2app), which
certainly couldn't have been helping things...
Kevin
More information about the Distutils-SIG
mailing list