mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Use eggs.require instead of pkg_resources.require
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user