From a761f386a8aee8c395d5478a55c9fbad12f191c4 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 28 Jan 2023 09:29:55 -0500 Subject: [PATCH] switch to implicit namespaces Remove explicit namespace package handling. See https://peps.python.org/pep-0420/ Fixes #32 --- setup.cfg | 2 -- virtualenvwrapper/__init__.py | 4 ---- 2 files changed, 6 deletions(-) delete mode 100644 virtualenvwrapper/__init__.py diff --git a/setup.cfg b/setup.cfg index 764868c..470d25a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,8 +24,6 @@ zip_safe = False [files] packages = virtualenvwrapper -namespace_packages = - virtualenvwrapper scripts = virtualenvwrapper.sh virtualenvwrapper_lazy.sh diff --git a/virtualenvwrapper/__init__.py b/virtualenvwrapper/__init__.py deleted file mode 100644 index 59336ae..0000000 --- a/virtualenvwrapper/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -"""virtualenvwrapper module -""" - -__import__('pkg_resources').declare_namespace(__name__)