Skip to content

Commit

Permalink
Drop namespace packages
Browse files Browse the repository at this point in the history
Interferes with pkg_resources
  • Loading branch information
remram44 committed Apr 29, 2021
1 parent 07c8dd9 commit 787fc43
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
5 changes: 0 additions & 5 deletions reprounzip/reprounzip/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
try: # pragma: no cover
__import__('pkg_resources').declare_namespace(__name__)
except ImportError: # pragma: no cover
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
5 changes: 0 additions & 5 deletions reprounzip/reprounzip/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
try: # pragma: no cover
__import__('pkg_resources').declare_namespace(__name__)
except ImportError: # pragma: no cover
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
5 changes: 0 additions & 5 deletions reprounzip/reprounzip/unpackers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
try: # pragma: no cover
__import__('pkg_resources').declare_namespace(__name__)
except ImportError: # pragma: no cover
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
1 change: 0 additions & 1 deletion reprounzip/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
'installpkgs = reprounzip.unpackers.default:setup_installpkgs',
'directory = reprounzip.unpackers.default:setup_directory',
'chroot = reprounzip.unpackers.default:setup_chroot']},
namespace_packages=['reprounzip', 'reprounzip.unpackers'],
install_requires=req,
extras_require={
'all': ['reprounzip-vagrant>=1.0', 'reprounzip-docker>=1.0',
Expand Down

0 comments on commit 787fc43

Please sign in to comment.