Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/__init__.py Tue Dec 18 00:54:32 2018 -0500 +++ b/mercurial/__init__.py Mon Dec 17 15:05:52 2018 +0100 @@ -40,6 +40,10 @@ # zstd is already dual-version clean, don't try and mangle it if fullname.startswith('mercurial.zstd'): return None + # rustext is built for the right python version, + # don't try and mangle it + if fullname.startswith('mercurial.rustext'): + return None # pywatchman is already dual-version clean, don't try and mangle it if fullname.startswith('hgext.fsmonitor.pywatchman'): return None