misc/build_helpers/run_trial.py: look for zetuptoolz egg in the parent directory, not the cwd of run_trial. refs

This commit is contained in:
david-sarah 2010-10-29 16:03:29 -07:00
parent 647aa74d68
commit 8835f009d0

@ -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,)