Use eggs.require instead of pkg_resources.require

This commit is contained in:
Dave Bouvier
2013-09-25 13:46:43 -04:00
parent 3fbbe27f66
commit e9df544401
@@ -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.