Hello Sandro,

> * Sandro Tosi <[email protected]> [22-mar-2010 08:38]:
> Hi Sylvain,
> 
> On Mon, Mar 22, 2010 at 08:25, Sylvain Thénault
> <[email protected]> wrote:
> > On 20 mars 10:18, Sandro Tosi wrote:
> >> 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.
> >
> > If you tell me we shoud use --install-layout=dev with python < 2.5.1 and not
> > <= 2.5.1, changing the comparison into strict comparison should definitly
> > do the trick and I'll do that.
> 
> Well, what I say is that distutils version 2.5.1 supports
> --install-layout=deb (the example is the debian package :) ) so using
> a stricter check will allow to build logilab-common in a Debian sid
> environment without patching.

I rather think the current test about distutils version is inadequate.
Because '--install-layout=dev' doesn't seem to exist for python 2.5.2-3
(lenny) but *does* for python 2.5.4-1 (distutils version still the same).

Maybe we could add a new check on python version to disambiguate till
the next Debian release.

> Thanks for your support,
Thanks for all your Debian support !


P.S I've still hope to have concrete time to help the Python packaging teams 
soon.
-- 
Julien JEHANNET                                          LOGILAB, Paris (France)
http://www.cubicweb.org                 CubicWeb, le cadriciel du web sémantique
http://www.logilab.org             Dépôt des logiciels libres conçus par Logilab
http://www.logilab.fr       Informatique scientifique & Gestion de connaissances

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to