def version_tuple_from_text(self, text):
		"""Convert text into a tuple of numbers (int).

		Should go through string and remove all non-integers, and for any
		given break split into a different section.
		"""
		if text is None:
			return ()

		segments = list()
		tmp = ''
		for char in str(text):
			if not char.isdigit():
				if len(tmp) > 0:
					segments.append(int(tmp))
					tmp = ''
			else:
				tmp += char
		if len(tmp) > 0:
			segments.append(int(tmp))

		if len(segments) == 0:
			self.print_verbose("No version strings found text: " + str(text))
			if not self._include_branches:
				return ()
			else:
				return (text)
		return tuple(segments)