MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / tag_python

Method tag_python

pipcl.py:902–911  ·  view source on GitHub ↗

Get two-digit python version, e.g. 'cp3.8' for python-3.8.6.

(self)

Source from the content-addressed store, hash-verified

900 return f'{self.tag_python()}-{self.tag_abi()}-{self.tag_platform()}'
901
902 def tag_python(self):
903 '''
904 Get two-digit python version, e.g. 'cp3.8' for python-3.8.6.
905 '''
906 if self.tag_python_:
907 ret = self.tag_python_
908 else:
909 ret = 'cp' + ''.join(platform.python_version().split('.')[:2])
910 assert '-' not in ret
911 return ret
912
913 def tag_abi(self):
914 '''

Callers 3

wheel_tag_stringMethod · 0.95
wheel_nameMethod · 0.95
wheel_name_matchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected