From 3ff7f9bea3e56833a36657bfbeba3bbc42c3f95a Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 7 Oct 2014 19:28:53 +0100 Subject: [PATCH] Specify the setuptools egg filename explicitly rather than globbing for it. (Note that if the version changes in future, this will fail loudly so we'll know we have to change it.) Signed-off-by: Daira Hopwood --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 11b24614..4b3ad977 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Pyt # # See the docs/about.rst file for licensing information. -import glob, os, stat, subprocess, re +import os, stat, subprocess, re ##### sys.path management @@ -70,7 +70,7 @@ if len(sys.argv) > 1 and sys.argv[1] == '--fakedependency': __requires__ = install_requires[:] -egg = os.path.realpath(glob.glob('setuptools-*.egg')[0]) +egg = os.path.realpath('setuptools-0.6c16dev5.egg') sys.path.insert(0, egg) import setuptools; setuptools.bootstrap_install_from = egg -- 2.45.2