From 7be341478509c154a7ad55b80ff695cee0c484e5 Mon Sep 17 00:00:00 2001 From: Johan Bloemberg Date: Wed, 1 Feb 2017 04:30:53 +0100 Subject: [PATCH] Only set LANG=C.UTF8 during install. (#5648) --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 3da1de04bf3..a1a04bd2ea7 100644 --- a/tox.ini +++ b/tox.ini @@ -4,12 +4,13 @@ skip_missing_interpreters = True [testenv] setenv = + PYTHONPATH = {toxinidir}:{toxinidir}/homeassistant ; both temper-python and XBee modules have utf8 in their README files ; which get read in from setup.py. If we don't force our locale to a ; utf8 one, tox's env is reset. And the install of these 2 packages ; fail. - LANG=C.UTF-8 - PYTHONPATH = {toxinidir}:{toxinidir}/homeassistant +whitelist_externals = /usr/bin/env +install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages} commands = py.test --timeout=30 --duration=10 --cov --cov-report= {posargs} deps =