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:
Nate Coraor
2010-07-28 12:57:16 -04:00
parent d271477ccb
commit 99b9d820e8
+1 -2
View File
@@ -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