Fix travis build
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
diff --git a/python/setup.py b/python/setup.py
index 23193cb..f7ee635 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -146,6 +146,7 @@
)
os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'cpp'
+ # Keep this list of dependencies in sync with tox.ini.
install_requires = ['six', 'setuptools']
if sys.version_info <= (2,7):
install_requires.append('ordereddict')
diff --git a/python/tox.ini b/python/tox.ini
index ebe7545..d758512 100644
--- a/python/tox.ini
+++ b/python/tox.ini
@@ -6,6 +6,7 @@
py{26,27}-{cpp,python}
[testenv]
+usedevelop=true
setenv =
cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
@@ -16,6 +17,7 @@
python: python setup.py -q test -q
cpp: python setup.py -q test -q --cpp_implementation
deps =
+ # Keep this list of dependencies in sync with setup.py.
six
py26: ordereddict
py26: unittest2