From 69367f8d4efd07a9aae3e877746939a16e805127 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sun, 23 Feb 2020 14:56:51 -0800 Subject: [PATCH] Make litex a namespace. --- litex/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/litex/__init__.py b/litex/__init__.py index ca1e6d75b..2454c0e79 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