Lines Matching full:prerelease
139 (major, minor, patch, prerelease, prerelease_num) = \
147 if prerelease:
148 self.prerelease = (prerelease[0], int(prerelease_num))
150 self.prerelease = None
160 if self.prerelease:
161 vstring = vstring + self.prerelease[0] + str(self.prerelease[1])
172 # prerelease stuff doesn't matter
178 # have to compare prerelease
179 # case 1: neither has prerelease; they're equal
180 # case 2: self has prerelease, other doesn't; other is greater
181 # case 3: self doesn't have prerelease, other does: self is greater
182 # case 4: both have prerelease: must compare them!
184 if (not self.prerelease and not other.prerelease):
186 elif (self.prerelease and not other.prerelease):
188 elif (not self.prerelease and other.prerelease):
190 elif (self.prerelease and other.prerelease):
191 if self.prerelease == other.prerelease:
193 elif self.prerelease < other.prerelease: