[lxml-dev] lxml 1.3.1 setup.py bug
Stefan Behnel
stefan_ml at behnel.de
Tue Jul 3 15:16:24 CEST 2007
Hi Holger,
jholg at gmx.de wrote:
> the setup.py script in 1.3.1 seems to try to remove the dependency on
> setuptools (which is a very good thing imho!) but fails:
>
> Traceback (most recent call last): File "setup.py", line 7, in ? except
> pkg_resources.VersionConflict, e: NameError: name 'pkg_resources' is not
> defined 1 lb54320 at adevp02 .../lxml-1.3 $
>
> I must admit I don't fully undestand the intention of the relevant code
> portion, as it raises ImportError even if pkg_resources import and version
> check runs smoothly; maybe this is the intended behaviour?
Ah, great. That was plain debug code. :)
Thanks, I just re-released the sources. Could you check if it works now?
> Oh, btw I couldn't find a 1.3.1 tag in the repository when trying to check
> out 1.3.1.
Luckily, yes. I'll tag it with the fix applied. :)
Stefan
More information about the lxml-dev
mailing list