]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Allow pip opts to be specified in environment
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Sep 2018 18:55:09 +0000 (14:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Sep 2018 18:55:09 +0000 (14:55 -0400)
To allow a custom requirements file to be passed in,
add a generic passthrough to the tox install command.

Change-Id: Ic2e46a27914b76802dc26143e34ad507978af474

tox.ini

diff --git a/tox.ini b/tox.ini
index f7c5fd5c8b88fc026bc8c86f662e27be2d993400..66ff7ead93472b5bad2fdf0da6f5eef328c3947d 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -10,6 +10,8 @@ envlist = py{27,34,35,36,37}-{cext,nocext}
 # Jenkins etc. need to call "coverage erase" externally.
 cov_args=--cov=sqlalchemy --cov-report term --cov-append --cov-report xml --exclude-tag memory-intensive --exclude-tag timing-intensive -k "not aaa_profiling"
 
+install_command=python -m pip install {env:TOX_PIP_OPTS} {opts} {packages}
+
 usedevelop=
      cov: True