Add subpackages into prototorch namespace.

This commit is contained in:
Alexander Engelsberger 2021-05-25 16:40:53 +02:00
parent fcdfa52892
commit a6bd6e130a

View File

@ -1,5 +1,12 @@
"""ProtoTorch package."""
import pkgutil
import pkg_resources
from . import components, datasets, functions, modules, utils
from .datasets import *
# Core Setup
__version__ = "0.4.4"
@ -7,15 +14,11 @@ __all_core__ = [
"datasets",
"functions",
"modules",
"components",
"utils",
]
from .datasets import *
# Plugin Loader
import pkgutil
import pkg_resources
__path__ = pkgutil.extend_path(__path__, __name__)