Skip to content

Commit

Permalink
Fixed double python version check for python_requires=">=3.7"
Browse files Browse the repository at this point in the history
  • Loading branch information
evandrocoan committed Apr 2, 2020
1 parent 069cc11 commit 28bb567
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pylib/setup.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 28bb567

Please sign in to comment.