summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index aa43abf..5d7fbac 100644
--- a/setup.py
+++ b/setup.py
@@ -116,7 +116,7 @@ if 'freebsd' in sys.platform:
if __name__ == '__main__':
from setuptools import setup, Extension
ext_modules = []
- if '__pypy__' not in sys.modules:
+ if '__pypy__' not in sys.builtin_module_names:
ext_modules.append(Extension(
name='_cffi_backend',
include_dirs=include_dirs,