Fixed double python version check for python_requires=">=3.7"

This commit is contained in:
evandrocoan 2020-04-02 12:29:05 -03:00
parent 069cc11a86
commit 28bb56744d

View File

@ -1,17 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import setuptools
minimum_python_version = (3, 7)
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)
)
install_requires = [
"beautifulsoup4",
"requests",