THRIFT-1857 Python 3 Support
Client: Python
Patch: Nobuaki Sukegawa
Add py3 cross test
diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am
index 2cdbb24..b88b6be 100755
--- a/lib/py/Makefile.am
+++ b/lib/py/Makefile.am
@@ -19,7 +19,16 @@
AUTOMAKE_OPTIONS = serial-tests
DESTDIR ?= /
-all-local:
+if WITH_PY3
+py3-build:
+ $(PYTHON3) setup.py build
+else
+py3-build:
+endif
+
+testing:
+
+all-local: py3-build testing
$(PYTHON) setup.py build
# We're ignoring prefix here because site-packages seems to be