mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Have check_galaxy.py script get twill from galaxy.eggs instead of directly from the (defunct) eggs/py-(version) directory
This commit is contained in:
@@ -90,9 +90,8 @@ except:
|
||||
|
||||
# find/import twill
|
||||
lib_dir = os.path.join( scripts_dir, "..", "lib" )
|
||||
eggs_dir = os.path.join( scripts_dir, "..", "eggs", "py%s-noplatform" %sys.version[:3] )
|
||||
sys.path.append( lib_dir )
|
||||
sys.path.append( eggs_dir )
|
||||
from galaxy import eggs
|
||||
import pkg_resources
|
||||
pkg_resources.require( "twill" )
|
||||
import twill
|
||||
|
||||
Reference in New Issue
Block a user