Mercurial > hg
comparison mercurial/policy.py @ 32512:0e8b0b9a7acc
cffi: split modules from pure
The copyright lines are updated per change history.
cffi/osutil.py isn't tested since I have no access to OS X machine right now,
sorry.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 02 May 2017 21:15:31 +0900 |
parents | 2e431fb98c6b |
children | 3f5d675fddf4 |
comparison
equal
deleted
inserted
replaced
32511:2e431fb98c6b | 32512:0e8b0b9a7acc |
---|---|
26 policynocffi = (b'c', b'py') | 26 policynocffi = (b'c', b'py') |
27 _packageprefs = { | 27 _packageprefs = { |
28 # policy: (versioned package, pure package) | 28 # policy: (versioned package, pure package) |
29 b'c': (r'cext', None), | 29 b'c': (r'cext', None), |
30 b'allow': (r'cext', r'pure'), | 30 b'allow': (r'cext', r'pure'), |
31 b'cffi': (None, r'pure'), # TODO: (r'cffi', None) | 31 b'cffi': (r'cffi', None), |
32 b'cffi-allow': (None, r'pure'), # TODO: (r'cffi', r'pure') | 32 b'cffi-allow': (r'cffi', r'pure'), |
33 b'py': (None, r'pure'), | 33 b'py': (None, r'pure'), |
34 } | 34 } |
35 | 35 |
36 try: | 36 try: |
37 from . import __modulepolicy__ | 37 from . import __modulepolicy__ |