remove check from setup.py that's not needed anymore (#5626)

pypy 7.2 is the oldest pypy that supports py3.6
This commit is contained in:
Alex Gaynor 2020-12-09 22:33:57 -05:00 committed by GitHub
parent 657b75a01d
commit da2879d387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@
# for complete details.
import os
import platform
import sys
from setuptools import find_packages, setup
@ -26,14 +25,6 @@ with open(os.path.join(src_dir, "cryptography", "__about__.py")) as f:
# `setup_requirements` must be kept in sync with `pyproject.toml`
setup_requirements = ["cffi>=1.12"]
if platform.python_implementation() == "PyPy":
if sys.pypy_version_info < (5, 4):
raise RuntimeError(
"cryptography is not compatible with PyPy < 5.4. Please upgrade "
"PyPy to use this library."
)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()