From: david-sarah Date: Fri, 29 Oct 2010 23:03:29 +0000 (-0700) Subject: misc/build_helpers/run_trial.py: look for zetuptoolz egg in the parent directory... X-Git-Tag: trac-4800~21 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/pb.xhtml?a=commitdiff_plain;h=8835f009d0e6907aa32e9382adab43edf7827417;p=tahoe-lafs%2Ftahoe-lafs.git misc/build_helpers/run_trial.py: look for zetuptoolz egg in the parent directory, not the cwd of run_trial. refs #1190 --- 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,)