Commits

jaraco  committed 9825ae1

Removed deprecated old technique

  • Participants
  • Parent commits 296ee5b

Comments (0)

Files changed (1)

File src/jaraco/__init__.py

 # this is a namespace package
-try:
-    import pkg_resources
-    pkg_resources.declare_namespace(__name__)
-except ImportError:
-    import pkgutil
-    __path__ = pkgutil.extend_path(__path__, __name__)
+__import__('pkg_resources').declare_namespace(__name__)