Re: setuptools/distribute/easy_install/pkg_resource sorting algorithm

PJ Eby <[email protected]> Thu, 14 Mar 2013 17:03:14 -0400
Newsgroups gmane.comp.python.catalog
Message-ID <CALeMXf5Dsqy+bgQGBa1T9JC6yFAAs69EAayHYRMbAJhikX-QcQ@mail.gmail.com>
On Thu, Mar 14, 2013 at 2:11 PM, M.-A. Lemburg <[email protected]> wrote:
> Is there any way to have "0.13.1.1.0.1.5-<something>" sort before
> "0.13.1.1.0.1.5" ? (e.g. like is done for release candidates)

Make it "0.13.1.1.0.1.5-dev<something>", and it'll have lower
precedence than both "0.13.1.1.0.1.5" and
"0.13.1.1.0.1.5-<something>".

> If you could point me to that tracker, I'll open a ticket :-)

http://bugs.python.org/setuptools/