From d9f9b75ad6514bb184dd6803d57d7f3f805ffb96 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 11 Jul 2014 10:18:24 -0700 Subject: Check for errors when invoking the vectors setup.py --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 4dd9e629..f73394ee 100644 --- a/setup.py +++ b/setup.py @@ -110,8 +110,9 @@ class PyTest(test): # This means there's a vectors/ folder with the package in here. # cd into it, install the vectors package and then refresh sys.path if VECTORS_DEPENDENCY not in test_requirements: - subprocess.Popen([sys.executable, "setup.py", "install"], - cwd="vectors").communicate() + subprocess.check_call( + [sys.executable, "setup.py", "install"], cwd="vectors" + ) pkg_resources.get_distribution("cryptography_vectors").activate() def run_tests(self): -- cgit v1.2.3