Home | History | Annotate | Download | only in distutils

Lines Matching defs:version

1 """Module for parsing and testing package version predicate strings.
4 import distutils.version
13 # (comp) (version)
17 """Parse a single version comparison.
25 return (comp, distutils.version.StrictVersion(verStr))
31 """Parse and test package version predicates.
41 human-readable version of the expression::
47 version number is included in the set described by the version
71 If any version numbers passed in do not conform to the
77 ValueError: invalid version number '1.2zb3'
96 """Parse a version predicate string.
129 def satisfied_by(self, version):
130 """True if version is compatible with all the predicates in self.
131 The parameter version must be acceptable to the StrictVersion
135 if not compmap[cond](version, ver):
143 """Return the name and optional version number of a provision.
145 The version number, if given, will be returned as a `StrictVersion`
163 ver = distutils.version.StrictVersion(ver)