Skip to content

Commit a21bf2e

Browse files
merge 2.6.0 to trunk
1 parent 1eba9d9 commit a21bf2e

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

python/README.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Installation
4848
$ python setup.py build
4949
$ python setup.py google_test
5050

51-
if you want to test c++ implementation, run:
52-
$ python setup.py test
51+
If you want to test c++ implementation, run:
52+
$ python setup.py test --cpp_implementation
5353

5454
If some tests fail, this library may not work correctly on your
5555
system. Continue at your own risk.
@@ -66,7 +66,7 @@ Installation
6666

6767
$ python setup.py install
6868
or:
69-
$ python setup.py install --nocpp_implementation
69+
$ python setup.py install --cpp_implementation
7070

7171
This step may require superuser privileges.
7272
NOTE: To use C++ implementation, you need to install C++ protobuf runtime
@@ -84,8 +84,6 @@ web at:
8484
C++ Implementation
8585
==================
8686

87-
WARNING: This is EXPERIMENTAL and only available for CPython platforms.
88-
8987
The C++ implementation for Python messages is built as a Python extension to
9088
improve the overall protobuf Python performance.
9189

python/setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,9 @@ def run(self):
138138

139139
if __name__ == '__main__':
140140
ext_module_list = []
141-
nocpp = '--nocpp_implementation'
142-
if nocpp in sys.argv:
141+
cpp_impl = '--cpp_implementation'
142+
if cpp_impl in sys.argv:
143143
sys.argv.remove(cpp_impl)
144-
else:
145144
# C++ implementation extension
146145
ext_module_list.append(Extension(
147146
"google.protobuf.pyext._message",

0 commit comments

Comments
 (0)