From ebaeeb34245dc66d86a0f791c774842e94904762 Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Mon, 13 Feb 2017 15:33:08 -0800 Subject: [PATCH] fix: try to avoid build failures on pypy w/ with_gmp=no fixes #669 --- Makefile | 2 ++ tox.ini | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 90e75588..e465694b 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ HERE = $(shell pwd) PTYPE=pypy ifneq ($(PTYPE), python) REQS=$(PTYPE)-requirements.txt + # avoids pycrypto build issues w/ pypy + libgmp-dev or libmpir-dev + export with_gmp=no else REQS=requirements.txt endif diff --git a/tox.ini b/tox.ini index 3d738dd9..b3762898 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,8 @@ install_command = pip install --pre {opts} {packages} [testenv:pypy] basepython = pypy deps = -rpypy-test-requirements.txt +# avoids pycrypto build issues w/ pypy + libgmp-dev or libmpir-dev +setenv = with_gmp=no [testenv:flake8] commands = flake8 autopush