view hgext/__init__.py @ 42523:49998d5ba66a

pycompat: make fewer assumptions about sys.executable There are many Python "bundlers" which create an archive to run a Python binary from, and they may not set sys.executable at all - handle that case properly, especially to run tests. Differential Revision: https://phab.mercurial-scm.org/D6575
author Rodrigo Damazio Bovendorp <rdamazio@google.com>
date Tue, 25 Jun 2019 19:28:41 -0700
parents 155e3308289c
children 2372284d9457
line wrap: on
line source

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)