Skip to content

Commit

Permalink
Merge pull request #1254 from alex/check-for-errors
Browse files Browse the repository at this point in the history
Check for errors when invoking the vectors setup.py
  • Loading branch information
dreid committed Jul 11, 2014
2 parents cb70d20 + d9f9b75 commit 1872e75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ def finalize_options(self):
# 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):
Expand Down

0 comments on commit 1872e75

Please sign in to comment.