Fix path manipulation during fetch_eggs. This getting an external version of pkg_resources (and not ours in lib/) is what is causing the weird egg fetching errors. Newer versions of pkg_resources create a mangled distribution string for some eggs with nonstandard version identifiers.

This commit is contained in:
Dannon Baker
2015-02-12 08:28:37 -05:00
parent 6a46ea7d50
commit de1cd01954
+1 -1
View File
@@ -32,7 +32,7 @@ root.setLevel( 10 )
root.addHandler( logging.StreamHandler( sys.stdout ) )
lib = os.path.abspath( os.path.join( os.path.dirname( __file__ ), "..", "lib" ) )
sys.path.append( lib )
sys.path.insert(1, lib)
from galaxy.eggs import Crate, EggNotFetchable
import pkg_resources