OLD | NEW |
1 Protocol Buffers - Google's data interchange format | 1 Protocol Buffers - Google's data interchange format |
2 =================================================== | 2 =================================================== |
3 | 3 |
4 [![Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https
://travis-ci.org/google/protobuf) | 4 [![Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https
://travis-ci.org/google/protobuf) |
5 | 5 |
6 Copyright 2008 Google Inc. | 6 Copyright 2008 Google Inc. |
7 | 7 |
8 This directory contains the Python Protocol Buffers runtime library. | 8 This directory contains the Python Protocol Buffers runtime library. |
9 | 9 |
10 Normally, this directory comes as part of the protobuf package, available | 10 Normally, this directory comes as part of the protobuf package, available |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 $ python setup.py test --cpp_implementation | 85 $ python setup.py test --cpp_implementation |
86 | 86 |
87 If some tests fail, this library may not work correctly on your | 87 If some tests fail, this library may not work correctly on your |
88 system. Continue at your own risk. | 88 system. Continue at your own risk. |
89 | 89 |
90 Please note that there is a known problem with some versions of | 90 Please note that there is a known problem with some versions of |
91 Python on Cygwin which causes the tests to fail after printing the | 91 Python on Cygwin which causes the tests to fail after printing the |
92 error: "sem_init: Resource temporarily unavailable". This appears | 92 error: "sem_init: Resource temporarily unavailable". This appears |
93 to be a bug either in Cygwin or in Python: | 93 to be a bug either in Cygwin or in Python: |
94 http://www.cygwin.com/ml/cygwin/2005-07/msg01378.html | 94 http://www.cygwin.com/ml/cygwin/2005-07/msg01378.html |
95 We do not know if or when it might be fixed. We also do not know | 95 We do not know if or when it might me fixed. We also do not know |
96 how likely it is that this bug will affect users in practice. | 96 how likely it is that this bug will affect users in practice. |
97 | 97 |
98 5) Install: | 98 5) Install: |
99 | 99 |
100 $ python setup.py install | 100 $ python setup.py install |
101 | 101 |
102 or: | 102 or: |
103 | 103 |
104 $ (cd .. && make install) | 104 $ (cd .. && make install) |
105 $ python setup.py install --cpp_implementation | 105 $ python setup.py install --cpp_implementation |
(...skipping 12 matching lines...) Expand all Loading... |
118 https://developers.google.com/protocol-buffers/ | 118 https://developers.google.com/protocol-buffers/ |
119 | 119 |
120 C++ Implementation | 120 C++ Implementation |
121 ================== | 121 ================== |
122 | 122 |
123 The C++ implementation for Python messages is built as a Python extension to | 123 The C++ implementation for Python messages is built as a Python extension to |
124 improve the overall protobuf Python performance. | 124 improve the overall protobuf Python performance. |
125 | 125 |
126 To use the C++ implementation, you need to install the C++ protobuf runtime | 126 To use the C++ implementation, you need to install the C++ protobuf runtime |
127 library, please see instructions in the parent directory. | 127 library, please see instructions in the parent directory. |
OLD | NEW |