From 8835f009d0e6907aa32e9382adab43edf7827417 Mon Sep 17 00:00:00 2001
From: david-sarah <david-sarah@jacaranda.org>
Date: Fri, 29 Oct 2010 16:03:29 -0700
Subject: [PATCH] misc/build_helpers/run_trial.py: look for zetuptoolz egg in
 the parent directory, not the cwd of run_trial. refs #1190

---
 misc/build_helpers/run_trial.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/build_helpers/run_trial.py b/misc/build_helpers/run_trial.py
index 8ea44230..27523206 100644
--- a/misc/build_helpers/run_trial.py
+++ b/misc/build_helpers/run_trial.py
@@ -32,7 +32,7 @@ __requires__ = [APPNAME + '==' + version] + install_requires + test_requires
 
 print "Requirements: %r" % (__requires__,)
 
-eggz = glob.glob('setuptools-*.egg')
+eggz = glob.glob(os.path.join('..', 'setuptools-*.egg'))
 if len(eggz) > 0:
    egg = os.path.realpath(eggz[0])
    print "Inserting egg on sys.path: %r" % (egg,)
-- 
2.45.2