summaryrefslogtreecommitdiffstats
path: root/hacking
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-04-12 04:33:57 +0200
committerGitHub <noreply@github.com>2023-04-12 04:33:57 +0200
commit9026bc5d76a54d38d156e837f71178071eb60a64 (patch)
tree03293f33a8415c3736072dcbcffe08ebbfd2b768 /hacking
parentansible-test - Add support for argcomplete 3 (#80482) (diff)
downloadansible-9026bc5d76a54d38d156e837f71178071eb60a64.tar.xz
ansible-9026bc5d76a54d38d156e837f71178071eb60a64.zip
Remove obsolete pkg_resources usage (#80489)
Diffstat (limited to 'hacking')
-rwxr-xr-xhacking/ansible-profile11
1 files changed, 0 insertions, 11 deletions
diff --git a/hacking/ansible-profile b/hacking/ansible-profile
index 6612402da6..8681cb739d 100755
--- a/hacking/ansible-profile
+++ b/hacking/ansible-profile
@@ -9,17 +9,6 @@ import traceback
import ansible.constants as C
from ansible.module_utils._text import to_text
-#__requires__ = ['ansible']
-try:
- import pkg_resources
-except Exception:
- # Use pkg_resources to find the correct versions of libraries and set
- # sys.path appropriately when there are multiversion installs. But we
- # have code that better expresses the errors in the places where the code
- # is actually used (the deps are optional for many code paths) so we don't
- # want to fail here.
- pass
-
target = sys.argv.pop(1)
myclass = "%sCLI" % target.capitalize()