Skip to content

Commit d8371c7

Browse files
committed
Remove namespace packages
1 parent 77a8562 commit d8371c7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

fs/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
"""Python filesystem abstraction layer.
22
"""
33

4-
__import__("pkg_resources").declare_namespace(__name__) # type: ignore
5-
64
from . import path
75
from ._fscompat import fsdecode, fsencode
86
from ._version import __version__

fs/opener/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"""Open filesystems from a URL.
33
"""
44

5-
# Declare fs.opener as a namespace package
6-
__import__("pkg_resources").declare_namespace(__name__) # type: ignore
7-
85
# Import opener modules so that `registry.install` if called on each opener
96
from . import appfs, ftpfs, memoryfs, osfs, tarfs, tempfs, zipfs
107

0 commit comments

Comments
 (0)