You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
212 B

4 years ago
  1. import os
  2. import platform
  3. NO_EXTENSIONS = bool(os.environ.get('MULTIDICT_NO_EXTENSIONS'))
  4. PYPY = platform.python_implementation() == 'PyPy'
  5. USE_CYTHON_EXTENSIONS = USE_CYTHON = not NO_EXTENSIONS and not PYPY