THRIFT-1735 integrate tutorial into regular build
python and python twisted
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1402680 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/py/PythonClient.py b/tutorial/py/PythonClient.py
index 916e915..0554ee1 100755
--- a/tutorial/py/PythonClient.py
+++ b/tutorial/py/PythonClient.py
@@ -19,8 +19,9 @@
# under the License.
#
-import sys
-sys.path.append('../gen-py')
+import sys, glob
+sys.path.append('gen-py')
+sys.path.insert(0, glob.glob('../../lib/py/build/lib.*')[0])
from tutorial import Calculator
from tutorial.ttypes import *