move back to requiring python 3.6

portions of libanki can run on python 3.5, but media syncing will fail
so we require 3.6 when running the GUI
This commit is contained in:
Damien Elmes 2018-06-07 11:36:11 +10:00
parent 01c58cfd85
commit da246cb935
2 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,7 @@ provide support for problems you encounter when running from source.
Anki requires:
- Python 3.5+
- Python 3.6+
- Qt 5.9.x and a PyQT that supports it
- mpv
- lame

View File

@ -40,3 +40,7 @@ qtpoint = QT_VERSION & 0xff
if qtmajor != 5 or qtminor != 9:
raise Exception("Anki only supports Qt 5.9.x at this time.")
# GUI code assumes python 3.6+
if sys.version_info[0] < 3 or sys.version_info[1] < 6:
raise Exception("Anki requires Python 3.6+")