Fixed double python version check for python_requires=">=3.7"
This commit is contained in:
parent
069cc11a86
commit
28bb56744d
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user