projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f6785
)
Temporary hack to investigate whether we are getting the right version of foolscap...
author
david-sarah
<david-sarah@jacaranda.org>
Sun, 16 Jan 2011 04:49:59 +0000
(20:49 -0800)
committer
david-sarah
<david-sarah@jacaranda.org>
Sun, 16 Jan 2011 04:49:59 +0000
(20:49 -0800)
src/allmydata/_auto_deps.py
patch
|
blob
|
history
diff --git
a/src/allmydata/_auto_deps.py
b/src/allmydata/_auto_deps.py
index ba450f9b6f3743a54d839e835ca2babb8431f31b..fd13bab710ea06d9627fe1e26e1bda24851c71df 100644
(file)
--- a/
src/allmydata/_auto_deps.py
+++ b/
src/allmydata/_auto_deps.py
@@
-107,6
+107,12
@@
def require_auto_deps():
require_python_version()
import pkg_resources
+ import foolscap.api
+ if foolscap.api.__version__ != '0.6.0':
+ import os, sys
+ raise AssertionError("wrong foolscap!\nfoolscap.api.__version__=%r\nPYTHONPATH=%r\nsys.path=%r" %
+ (foolscap.api.__version__, os.environ.get('PYTHONPATH'), sys.path))
+
for requirement in install_requires:
try:
pkg_resources.require(requirement)