comparison mercurial/__init__.py @ 40985:4277e20cfec4

rust-cpython: build and support for Python3 Defined Cargo features for Python3, making them overall simpler to use, hooked them in build and made mercurial.rustext importable. This is tested with Python 3.6.7. Differential Revision: https://phab.mercurial-scm.org/D5446
author Georges Racinet <gracinet@anybox.fr>
date Mon, 17 Dec 2018 15:05:52 +0100
parents fb9121ea38c4
children 7ed472e79096
comparison
equal deleted inserted replaced
40984:6a372f943e49 40985:4277e20cfec4
37 # third-party packages are expected to be dual-version clean 37 # third-party packages are expected to be dual-version clean
38 if fullname.startswith('mercurial.thirdparty'): 38 if fullname.startswith('mercurial.thirdparty'):
39 return None 39 return None
40 # zstd is already dual-version clean, don't try and mangle it 40 # zstd is already dual-version clean, don't try and mangle it
41 if fullname.startswith('mercurial.zstd'): 41 if fullname.startswith('mercurial.zstd'):
42 return None
43 # rustext is built for the right python version,
44 # don't try and mangle it
45 if fullname.startswith('mercurial.rustext'):
42 return None 46 return None
43 # pywatchman is already dual-version clean, don't try and mangle it 47 # pywatchman is already dual-version clean, don't try and mangle it
44 if fullname.startswith('hgext.fsmonitor.pywatchman'): 48 if fullname.startswith('hgext.fsmonitor.pywatchman'):
45 return None 49 return None
46 50