Browse Source

Work around tox bug.

Josh Haberman 9 years ago
parent
commit
f6153b540a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      python/tox.ini

+ 4 - 0
python/tox.ini

@@ -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