diff options
author | jieluo@google.com <jieluo@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2014-08-13 23:26:54 +0000 |
---|---|---|
committer | jieluo@google.com <jieluo@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2014-08-13 23:26:54 +0000 |
commit | 5dd5f0d09a52a4965d5cee35b7aad80bebb08a33 (patch) | |
tree | 1565e7a51f1455a41a17321231e845756f913eb9 /python | |
parent | 2d10b80f459a4668ac9b8eeea4bf457837186867 (diff) |
change python README.txt
Diffstat (limited to 'python')
-rw-r--r-- | python/README.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/python/README.txt b/python/README.txt index e052e895..4ed9bc0d 100644 --- a/python/README.txt +++ b/python/README.txt @@ -46,8 +46,10 @@ Installation 4) Build and run the tests: $ python setup.py build - $ python setup.py test - $ python setup.py exttest # To test C++ implementation (see below). + $ python setup.py google_test + + if you want to test c++ implementation, run: + $ python setup.py google_test --cpp_implementation If some tests fail, this library may not work correctly on your system. Continue at your own risk. @@ -63,6 +65,8 @@ Installation 5) Install: $ python setup.py install + or: + $ python setup.py install --cpp_implementation This step may require superuser privileges. NOTE: To use C++ implementation, you need to install C++ protobuf runtime @@ -97,7 +101,8 @@ You need to export this variable before running setup.py script to build and install the extension. You must also set the variable at runtime, otherwise the pure-Python implementation will be used. In a future release, we will change the default so that C++ implementation is used whenever it is available. -It is strongly recommended to run `python setup.py test` after setting the +It is strongly recommended to run `python setup.py google_test +--cpp_implementation` after setting the variable to "cpp", so the tests will be against C++ implemented Python messages. |