mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
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 <daira@jacaranda.org>
This commit is contained in:
parent
dff955a46a
commit
3ff7f9bea3
4
setup.py
4
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user