On Fri, Nov 27, 2009 at 1:24 PM, Tarek Ziadé <[email protected]> wrote: [..] >> don't worry about Debian, we'll simply replace "-" with "~" (we use "~" >> and "+" right now[0]). I'm not sure about rpm, but I bet it has >> something similar and it will be much easier for us to simply handle two >> characters instead of recognizing that dev1 < a1 < b1 < c1 == rc1 ... > > It's different from RPMs, since they use a strcmp(), segment by segment, > so I think they have to extract the dev/post suffixes and to put them in front > as an epoch marker maybe ? (ccing Toshio) >
That makes me think that a nice add-on to the lib and the PEP would be to provide APIs to translate a Python PEP 386 version to a Debian/Ubuntu or RPM ones - and any major packaging system out there. (whatever scheme we pick) _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
