projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae4f8f
)
Make litex a namespace.
author
Tim 'mithro' Ansell
<me@mith.ro>
Sun, 23 Feb 2020 22:56:51 +0000
(14:56 -0800)
committer
Tim 'mithro' Ansell
<me@mith.ro>
Sun, 12 Apr 2020 01:37:06 +0000
(18:37 -0700)
litex/__init__.py
patch
|
blob
|
history
diff --git
a/litex/__init__.py
b/litex/__init__.py
index ca1e6d75bf2c5de0c466f78dbf7688faafae424f..2454c0e796903000ed4b649386925770139b5baf 100644
(file)
--- 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