From 4ad03fe4bacac1885c069e6adc744f3a7c6b5531 Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Thu, 2 Apr 2020 12:29:56 -0300 Subject: [PATCH] Fixed double python version check for python_requires=">=3.7" --- qt/setup.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/qt/setup.py b/qt/setup.py index 2c7217e43..98d207714 100644 --- a/qt/setup.py +++ b/qt/setup.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- import os -import sys import setuptools @@ -15,7 +14,6 @@ def package_files(directory): # just the Python files for type hints? pyonly = os.getenv("PYFILESONLY") -minimum_python_version = (3, 7) if pyonly: extra_files = [] @@ -35,12 +33,6 @@ install_requires = [ 'darkdetect; sys.platform == "darwin"', ] -if sys.version_info < minimum_python_version: - raise RuntimeError( - "The minimum Python interpreter version required for Anki is '%s' " - "and version '%s' was found!" % (minimum_python_version, sys.version_info) - ) - setuptools.setup( name="aqt",