view hgext3rd/__init__.py @ 44605:960770add699

setup: relax -Werror for declaration-after-statement on Python 3.9 It turns out Python 3.9 introduces such declarations in the headers, eg cpython/abstract.h:189:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] so we have to be more relaxed when compiling for 3.9. Differential Revision: https://phab.mercurial-scm.org/D8327
author Augie Fackler <augie@google.com>
date Wed, 25 Mar 2020 11:56:47 -0400
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line source

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)