Work around tox bug.

This commit is contained in:
Josh Haberman 2016-02-20 12:50:27 -08:00
parent b28b3f60a1
commit f6153b540a

View File

@ -6,6 +6,10 @@ envlist =
usedevelop=true
passenv = CC
setenv =
# Dummy entry works around bug where tox fails for empty "setenv" section
# (since cpp lines aren't used for py builds).
# https://bitbucket.org/hpk42/tox/issues/190/generative-setenv-fails-if-there-s-only
DUMMY=dummy
cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp