summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2016-04-15 01:49:42 -0400
committerTres Seaver <tseaver@palladion.com>2016-04-15 01:49:42 -0400
commit602546db995f6d6fcba78705b67b8d708f555cc5 (patch)
tree121a4d10863d690e6542c95e609dd6f9598024d4
parentd219fc9db896318920720975f67ffd0599ed4421 (diff)
parentc1623a62a81c126b7ae7f478baead2049689c5ec (diff)
downloadzope-component-602546db995f6d6fcba78705b67b8d708f555cc5.tar.gz
Merge pull request #22 from zopefoundation/avoid-poisoning-wheel-cache-python-pure
Don't use/poison global wheel cache when building w/ PURE_PYTHON.
-rw-r--r--CHANGES.rst3
-rw-r--r--tox.ini3
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 0cd06d3..25fb158 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -4,6 +4,9 @@ Changes
4.3.0 (unreleased)
------------------
+- When testing ``PURE_PYTHON`` environments under ``tox``, avoid poisoning
+ the user's global wheel cache.
+
- Drop support for Python 2.6 and 3.2.
- Add support for Python 3.5.
diff --git a/tox.ini b/tox.ini
index 056ca4a..f4e5734 100644
--- a/tox.ini
+++ b/tox.ini
@@ -44,18 +44,21 @@ basepython =
python3.4
setenv =
PURE_PYTHON = 1
+ PIP_CACHE_DIR = {envdir}/.cache
[testenv:py35-pure]
basepython =
python3.5
setenv =
PURE_PYTHON = 1
+ PIP_CACHE_DIR = {envdir}/.cache
[testenv:py27-pure]
basepython =
python3.4
setenv =
PURE_PYTHON = 1
+ PIP_CACHE_DIR = {envdir}/.cache
[testenv:coverage]
usedevelop = true