##// END OF EJS Templates
base85: switch to policy importer
Yuya Nishihara -
r32368:008d37c4 default
parent child Browse files
Show More
@@ -17,7 +17,6 b' import traceback'
17 17
18 18 # Modules that have both Python and C implementations.
19 19 _dualmodules = (
20 'base85.py',
21 20 'bdiff.py',
22 21 'diffhelpers.py',
23 22 'mpatch.py',
@@ -26,7 +26,6 b' allowsymbolimports = ('
26 26
27 27 # Modules that have both Python and C implementations.
28 28 _dualmodules = (
29 'base85.py',
30 29 'bdiff.py',
31 30 'diffhelpers.py',
32 31 'mpatch.py',
@@ -12,7 +12,7 b''
12 12 <Directory Id="libdir" Name="lib" FileSource="$(var.SourceDir)/lib">
13 13 <Component Id="libOutput" Guid="$(var.lib.guid)" Win64='$(var.IsX64)'>
14 14 <File Name="library.zip" KeyPath="yes" />
15 <File Name="mercurial.base85.pyd" />
15 <File Name="mercurial.cext.base85.pyd" />
16 16 <File Name="mercurial.bdiff.pyd" />
17 17 <File Name="mercurial.diffhelpers.pyd" />
18 18 <File Name="mercurial.mpatch.pyd" />
@@ -23,7 +23,6 b' modulepolicy = policy.policy'
23 23 # Modules that have both Python and C implementations. See also the
24 24 # set of .py files under mercurial/pure/.
25 25 _dualmodules = {
26 'mercurial.base85',
27 26 'mercurial.bdiff',
28 27 'mercurial.diffhelpers',
29 28 'mercurial.mpatch',
1 NO CONTENT: file renamed from mercurial/base85.c to mercurial/cext/base85.c
@@ -1026,11 +1026,11 b' def debuginstall(ui, **opts):'
1026 1026 err = None
1027 1027 try:
1028 1028 from . import (
1029 base85,
1030 1029 bdiff,
1031 1030 mpatch,
1032 1031 )
1033 1032 from .cext import (
1033 base85,
1034 1034 osutil,
1035 1035 )
1036 1036 dir(bdiff), dir(mpatch), dir(base85), dir(osutil) # quiet pyflakes
@@ -42,7 +42,6 b' import warnings'
42 42 import zlib
43 43
44 44 from . import (
45 base85,
46 45 encoding,
47 46 error,
48 47 i18n,
@@ -51,6 +50,7 b' from . import ('
51 50 pycompat,
52 51 )
53 52
53 base85 = policy.importmod(r'base85')
54 54 osutil = policy.importmod(r'osutil')
55 55
56 56 b85decode = base85.b85decode
@@ -621,7 +621,7 b" if sys.platform == 'darwin':"
621 621 osutil_ldflags += ['-framework', 'ApplicationServices']
622 622
623 623 extmodules = [
624 Extension('mercurial.base85', ['mercurial/base85.c'],
624 Extension('mercurial.cext.base85', ['mercurial/cext/base85.c'],
625 625 include_dirs=common_include_dirs,
626 626 depends=common_depends),
627 627 Extension('mercurial.bdiff', ['mercurial/bdiff.c',
General Comments 0
You need to be logged in to leave comments. Login now