Add subpackages into prototorch namespace.
This commit is contained in:
parent
fcdfa52892
commit
a6bd6e130a
@ -1,5 +1,12 @@
|
|||||||
"""ProtoTorch package."""
|
"""ProtoTorch package."""
|
||||||
|
|
||||||
|
import pkgutil
|
||||||
|
|
||||||
|
import pkg_resources
|
||||||
|
|
||||||
|
from . import components, datasets, functions, modules, utils
|
||||||
|
from .datasets import *
|
||||||
|
|
||||||
# Core Setup
|
# Core Setup
|
||||||
__version__ = "0.4.4"
|
__version__ = "0.4.4"
|
||||||
|
|
||||||
@ -7,15 +14,11 @@ __all_core__ = [
|
|||||||
"datasets",
|
"datasets",
|
||||||
"functions",
|
"functions",
|
||||||
"modules",
|
"modules",
|
||||||
|
"components",
|
||||||
|
"utils",
|
||||||
]
|
]
|
||||||
|
|
||||||
from .datasets import *
|
|
||||||
|
|
||||||
# Plugin Loader
|
# Plugin Loader
|
||||||
import pkgutil
|
|
||||||
|
|
||||||
import pkg_resources
|
|
||||||
|
|
||||||
__path__ = pkgutil.extend_path(__path__, __name__)
|
__path__ = pkgutil.extend_path(__path__, __name__)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user