]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Specify the setuptools egg filename explicitly rather than globbing for it.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 7 Oct 2014 18:28:53 +0000 (19:28 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 7 Oct 2014 18:28:53 +0000 (19:28 +0100)
(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 <daira@jacaranda.org>
setup.py

index 11b2461467235520e19a11016941321619ac4b8e..4b3ad977056b5a726d50ebf06fa441f615941a2b 100644 (file)
--- 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