From: david-sarah Date: Sun, 7 Nov 2010 23:36:15 +0000 (-0800) Subject: misc/build_helpers/show-tool-versions.py: look for zetuptoolz egg in the current... X-Git-Url: https://git.rkrishnan.org/pf/content/en/frontends/flags?a=commitdiff_plain;h=901690a02913007ae393d9c84e15a9512b594faf;p=tahoe-lafs%2Ftahoe-lafs.git misc/build_helpers/show-tool-versions.py: look for zetuptoolz egg in the current directory, not the parent. --- diff --git a/misc/build_helpers/show-tool-versions.py b/misc/build_helpers/show-tool-versions.py index 4b545b51..14b9024d 100644 --- a/misc/build_helpers/show-tool-versions.py +++ b/misc/build_helpers/show-tool-versions.py @@ -7,7 +7,7 @@ try: import pkg_resources except ImportError: import glob - eggz = glob.glob(os.path.join('..', 'setuptools-*.egg')) + eggz = glob.glob('setuptools-*.egg') if len(eggz) > 0: egg = os.path.realpath(eggz[0]) print >>sys.stderr, "Inserting egg on sys.path: %r" % (egg,)