mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Error cleanly in setup.py when using a too-old PyPy (#8634)
This commit is contained in:
parent
8158e45ee7
commit
60d3f709eb
1 changed files with 3 additions and 0 deletions
3
setup.py
3
setup.py
|
|
@ -43,6 +43,9 @@ src_dir = os.path.join(base_dir, "src")
|
|||
# means that we need to add the src/ directory to the sys.path.
|
||||
sys.path.insert(0, src_dir)
|
||||
|
||||
if hasattr(sys, "pypy_version_info") and sys.pypy_version_info < (7, 3, 10):
|
||||
raise RuntimeError("cryptography is not compatible with PyPy3 < 7.3.10")
|
||||
|
||||
try:
|
||||
# See pyproject.toml for most of the config metadata.
|
||||
setup(
|
||||
|
|
|
|||
Loading…
Reference in a new issue