From e9df544401f3452e8bc24fdfe4df9f4b68ff9658 Mon Sep 17 00:00:00 2001 From: Dave Bouvier Date: Wed, 25 Sep 2013 13:46:43 -0400 Subject: [PATCH] Use eggs.require instead of pkg_resources.require --- lib/tool_shed/galaxy_install/migrate/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tool_shed/galaxy_install/migrate/check.py b/lib/tool_shed/galaxy_install/migrate/check.py index ffd6b6dd7dc..a0e2e9435e3 100644 --- a/lib/tool_shed/galaxy_install/migrate/check.py +++ b/lib/tool_shed/galaxy_install/migrate/check.py @@ -29,7 +29,7 @@ def verify_tools( app, url, galaxy_config_file, engine_options={} ): try: egg = dialect_to_egg[ dialect ] try: - pkg_resources.require( egg ) + eggs.require( egg ) log.debug( "%s egg successfully loaded for %s dialect" % ( egg, dialect ) ) except: # If the module is in the path elsewhere (i.e. non-egg), it'll still load.