Hi Sylvain,

On Sat, Feb 27, 2010 at 14:33, Sylvain Thénault
<sylvain.thena...@logilab.fr> wrote:
> On 26 février 20:36, Sandro Tosi wrote:
>> Hello,
>
> Re,
>
>> while preparing 0.48.0 for Debian, and checking for 2.6 compatibility,
>> I noticed that the check for distutils version is broken and remove
>> the --install-layout=deb param even if it's supported. I've remove it
>> and now the package builds and installs files fine in a 2.6
>> environment.
>>
>> Attached is the patch I've applied.
>
> I've checked in a patch that properly fix the comparison. Thank you
> for reporting this.

I fear it's still wrong. distutils 2.5.1 supports --install-layout=deb
but the check:

In [3]: tuple([int(x) for x in distutils_version.split('.')]) <= (2, 5, 1)
Out[3]: True

that causes again to drop that option. You can, for example, check got
a strictly lower version than 2.5.1 but don't know how correct it
could be.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to