aboutsummaryrefslogtreecommitdiffhomepage
path: root/python
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2016-10-07 16:09:26 -0700
committerGravatar Bo Yang <teboring@google.com>2016-10-10 11:44:54 -0700
commitdaba6653f1289b58873c2ae993afcdb82035d2fb (patch)
tree5879fa426bd0cf22df5a7ee39d25b8ece7c117f8 /python
parent5be6325c1f000f7b7d6655cb5b6ecbf4f0e52017 (diff)
Fix python_cpp test on Mac. Link staticly when building extension, so that the extension doesn't require installing protobuf library. (#2232)
Diffstat (limited to 'python')
-rw-r--r--python/tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tox.ini b/python/tox.ini
index cf8d5401..1600db21 100644
--- a/python/tox.ini
+++ b/python/tox.ini
@@ -12,7 +12,7 @@ setenv =
commands =
python setup.py -q build_py
python: python setup.py -q build
- cpp: python setup.py -q build --cpp_implementation --warnings_as_errors
+ cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension
python: python setup.py -q test -q
cpp: python setup.py -q test -q --cpp_implementation
python: python setup.py -q test_conformance