summaryrefslogtreecommitdiff
path: root/setup_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup_base.py')
-rw-r--r--setup_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_base.py b/setup_base.py
index 8a56b90..667c7d5 100644
--- a/setup_base.py
+++ b/setup_base.py
@@ -8,7 +8,7 @@ from setup import library_dirs, extra_compile_args, extra_link_args
if __name__ == '__main__':
from distutils.core import setup
from distutils.extension import Extension
- standard = '__pypy__' not in sys.modules
+ standard = '__pypy__' not in sys.builtin_module_names
setup(packages=['cffi'],
requires=['pycparser'],
ext_modules=[Extension(name = '_cffi_backend',