Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 0a56ee5

Browse files
committed
dffml: Remove namespaces
Signed-off-by: John Andersen <[email protected]>
1 parent 67ad31f commit 0a56ee5

File tree

7 files changed

+0
-20
lines changed

7 files changed

+0
-20
lines changed

dffml/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@
99

1010
# Models
1111
from .model import Model, ModelContext
12-
13-
# Used to declare our namespace for resource discovery
14-
__import__("pkg_resources").declare_namespace(__name__)

dffml/df/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
"""
44
Declarative Directed Graph Execution
55
"""
6-
# Declares dffml.ddge as a namespace package
7-
__import__("pkg_resources").declare_namespace(__name__)

dffml/feature/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@
1616
>>> )
1717
"""
1818
from .feature import Data, Feature, Features, LoggingDict, DefFeature
19-
20-
# Declares dffml.feature is a namespace package
21-
__import__("pkg_resources").declare_namespace(__name__)

dffml/model/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@
1616
>>> )
1717
"""
1818
from .model import Model, ModelContext
19-
20-
# Declares dffml.model as a namespace package
21-
__import__("pkg_resources").declare_namespace(__name__)

dffml/operation/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
# SPDX-License-Identifier: MIT
2-
# Copyright (c) 2019 Intel Corporation
3-
# Declares dffml.operation is a namespace package
4-
__import__("pkg_resources").declare_namespace(__name__)

dffml/port/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@
1616
>>> )
1717
"""
1818
from .port import Port
19-
20-
# Declares dffml.port as a namespace package
21-
__import__("pkg_resources").declare_namespace(__name__)

dffml/source/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@
1515
>>> },
1616
>>> )
1717
"""
18-
# Declares dffml.source as a namespace package
19-
__import__("pkg_resources").declare_namespace(__name__)

0 commit comments

Comments
 (0)