Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: third_party/protobuf/python/README.md

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 web at: 116 web at:
117 117
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: 126 To use the C++ implementation, you need to install the C++ protobuf runtime
127 1) Install the C++ protobuf runtime library, please see instructions in the 127 library, please see instructions in the parent directory.
128 parent directory.
129 2) Export an environment variable:
130
131 $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
132
133 You must set this variable at runtime, before running your program, otherwise
134 the pure-Python implementation will be used. In a future release, we will
135 change the default so that C++ implementation is used whenever it is available.
OLDNEW
« no previous file with comments | « third_party/protobuf/protoc-artifacts/build-protoc.sh ('k') | third_party/protobuf/python/google/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698