File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ Installation
48
48
$ python setup.py build
49
49
$ python setup.py google_test
50
50
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
53
53
54
54
If some tests fail, this library may not work correctly on your
55
55
system. Continue at your own risk.
@@ -66,7 +66,7 @@ Installation
66
66
67
67
$ python setup.py install
68
68
or:
69
- $ python setup.py install --nocpp_implementation
69
+ $ python setup.py install --cpp_implementation
70
70
71
71
This step may require superuser privileges.
72
72
NOTE: To use C++ implementation, you need to install C++ protobuf runtime
@@ -84,8 +84,6 @@ web at:
84
84
C++ Implementation
85
85
==================
86
86
87
- WARNING: This is EXPERIMENTAL and only available for CPython platforms.
88
-
89
87
The C++ implementation for Python messages is built as a Python extension to
90
88
improve the overall protobuf Python performance.
91
89
Original file line number Diff line number Diff line change @@ -138,10 +138,9 @@ def run(self):
138
138
139
139
if __name__ == '__main__' :
140
140
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 :
143
143
sys .argv .remove (cpp_impl )
144
- else :
145
144
# C++ implementation extension
146
145
ext_module_list .append (Extension (
147
146
"google.protobuf.pyext._message" ,
You can’t perform that action at this time.
0 commit comments