MCPcopy Index your code
hub / github.com/kivy/python-for-android / check_python_version

Function check_python_version

pythonforandroid/recommendations.py:207–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205
206
207def check_python_version():
208 # Python 2 special cased because it's a major transition. In the
209 # future the major or minor versions can increment more quietly.
210 if sys.version_info.major == 2:
211 raise BuildInterruptingException(PY2_ERROR_TEXT)
212
213 if (
214 sys.version_info.major < MIN_PYTHON_MAJOR_VERSION or
215 sys.version_info.minor < MIN_PYTHON_MINOR_VERSION
216 ):
217
218 raise BuildInterruptingException(PY_VERSION_ERROR_TEXT)
219
220
221def print_recommendations():

Callers 2

mainFunction · 0.90

Calls 1

Tested by 1