From: Tim 'mithro' Ansell Date: Sun, 23 Feb 2020 22:56:51 +0000 (-0800) Subject: Make litex a namespace. X-Git-Tag: 24jan2021_ls180~424^2~11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69367f8d4efd07a9aae3e877746939a16e805127;p=litex.git Make litex a namespace. --- diff --git a/litex/__init__.py b/litex/__init__.py index ca1e6d75..2454c0e7 100644 --- a/litex/__init__.py +++ b/litex/__init__.py @@ -1,3 +1,6 @@ +# https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages +__path__ = __import__('pkgutil').extend_path(__path__, __name__) + import sys # retro-compat 2019-09-30