From 99b9d820e80c49dcc6d799749ff1effdd5027d06 Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Wed, 28 Jul 2010 12:57:16 -0400 Subject: [PATCH] Have check_galaxy.py script get twill from galaxy.eggs instead of directly from the (defunct) eggs/py-(version) directory --- scripts/check_galaxy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/check_galaxy.py b/scripts/check_galaxy.py index 39cd6b1a15a..70a4765fce0 100755 --- a/scripts/check_galaxy.py +++ b/scripts/check_galaxy.py @@ -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