From d0ee1989ec56dc039ad880c1d554e66dd4caddd8 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 20 Mar 2012 09:43:29 -0400 Subject: All the tests pass under PyPy: sys has a bogus __file__, Unicode is 4-byte, and pypy inserts an extra stack frame into tracebacks. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 71c43421..bad1c048 100644 --- a/setup.py +++ b/setup.py @@ -110,7 +110,7 @@ if sys.platform.startswith('java'): # Jython can't compile C extensions compile_extension = False -if hasattr(sys, "pypy_version_info"): +if '__pypy__' in sys.builtin_module_names: # Pypy can't compile C extensions compile_extension = False -- cgit v1.2.1