Skip to content

Commit

Permalink
py36
Browse files Browse the repository at this point in the history
  • Loading branch information
auvipy committed Oct 20, 2020
1 parent e83d43a commit 446af59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def _pyimp():
E_UNSUPPORTED_PYTHON = '%s 1.0 requires %%s %%s or later!' % (NAME,)

PYIMP = _pyimp()
PY35_OR_LESS = sys.version_info < (3, 6)
PY36_OR_LESS = sys.version_info < (3, 6)
PYPY_VERSION = getattr(sys, 'pypy_version_info', None)
PYPY24_ATLEAST = PYPY_VERSION and PYPY_VERSION >= (2, 4)

if PY35_OR_LESS and not PYPY24_ATLEAST:
if PY36_OR_LESS and not PYPY24_ATLEAST:
raise Exception(E_UNSUPPORTED_PYTHON % (PYIMP, '3.6'))

# -*- Classifiers -*-
Expand Down

0 comments on commit 446af59

Please sign in to comment.