[Distutils] Requirent specifiers specified? :)
jim at zope.com
Wed Jun 21 23:36:21 CEST 2006
Phillip J. Eby wrote:
> At 04:52 PM 6/21/2006 -0400, Jim Fulton wrote:
> I was going to say, of course, and give you a link, but I'm surprised to
> discover there's nothing I can find. Which is weird because I *know* I
> wrote something.
I thought you did too.
> However I suspect it was originally on the PythonEggs
> wiki page, and it didn't get transferred to the PkgResources or
> setuptools pages before being deleted.
> Ah, yes, that's in fact the case. Here's the missing paragraph, grabbed
> from the wiki history:
> """Requirement strings basically consist of a distribution name, an
> optional list of "options" (more on this in a moment), and a
> comma-separated list of zero or more version conditions. Version
> conditions basically specify ranges of valid versions, using comparison
> operators. The version conditions you supply are sorted into ascending
> version order, and then scanned left to right until the package's
> version falls between a pair of > or >= and < or <= conditions, or
> exactly matches a == or != condition."""
OK, this is something. I'm sure what "ascending version order" is.
In ascending version order, what is the ordering of:
<1.2, >1.2, ==1.2, <=1.2, >=1.2, and !=1.2
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Distutils-SIG