Skip to content

Commit b4aa8bb

Browse files
authored
Merge pull request #176 from bobleesj/remove-namespace
refactor: Remove the import of `extend_path from pkgutil` in `diffpy/__init__.py`
2 parents 89de7c2 + 32f165f commit b4aa8bb

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

news/remove-namespace.rst

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* <news item>
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* Remove the import of extend_path from pkgutil in diffpy/__init__.py since we are not strictly following the Python namespace package convention.
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

src/diffpy/__init__.py

-9
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,3 @@
1212
# See LICENSE.rst for license information.
1313
#
1414
##############################################################################
15-
16-
"""Blank namespace package for module diffpy."""
17-
18-
19-
from pkgutil import extend_path
20-
21-
__path__ = extend_path(__path__, __name__)
22-
23-
# End of file

0 commit comments

Comments
 (0)