equal
deleted
inserted
replaced
16 # allow - allow pure Python implementation when C loading fails |
16 # allow - allow pure Python implementation when C loading fails |
17 # cffi - required cffi versions (implemented within pure module) |
17 # cffi - required cffi versions (implemented within pure module) |
18 # cffi-allow - allow pure Python implementation if cffi version is missing |
18 # cffi-allow - allow pure Python implementation if cffi version is missing |
19 # py - only load pure Python modules |
19 # py - only load pure Python modules |
20 # |
20 # |
21 # By default, require the C extensions for performance reasons. |
21 # By default, fall back to the pure modules so the in-place build can |
22 policy = b'c' |
22 # run without recompiling the C extensions. This will be overridden by |
|
23 # __modulepolicy__ generated by setup.py. |
|
24 policy = b'allow' |
23 policynoc = (b'cffi', b'cffi-allow', b'py') |
25 policynoc = (b'cffi', b'cffi-allow', b'py') |
24 policynocffi = (b'c', b'py') |
26 policynocffi = (b'c', b'py') |
25 |
27 |
26 try: |
28 try: |
27 from . import __modulepolicy__ |
29 from . import __modulepolicy__ |