mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Temporary hack to investigate whether we are getting the right version of foolscap on trunk. refs #1258
This commit is contained in:
parent
21f678527e
commit
727b25f622
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user