Skip to content

Commit e3cc7aa

Browse files
Merge pull request #425 from Zili-Yang-z/issue413_attempt3
issue#413 potential solution
2 parents 9f651c9 + c612658 commit e3cc7aa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tika/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@
1616

1717
__version__ = "3.1.0"
1818

19-
try:
20-
__import__('pkg_resources').declare_namespace(__name__)
21-
except ImportError:
22-
from pkgutil import extend_path
23-
__path__ = extend_path(__path__, __name__)
19+
from pkgutil import extend_path
20+
__path__ = extend_path(__path__, __name__)
2421

2522
def initVM():
2623
''' back compat method for JCC based Tika'''

0 commit comments

Comments
 (0)