diff options
author | jesse <number.dot.ten@gmail.com> | 2015-03-16 15:15:59 -0700 |
---|---|---|
committer | jesse <number.dot.ten@gmail.com> | 2015-03-16 15:15:59 -0700 |
commit | cd04e9b702ab50e47b9a84ca0777961cf0df058b (patch) | |
tree | af98e6e360d1042b58d2781956164862406d6dae /python | |
parent | bf0559265298082f5e7c4cbfb3178ab82b133676 (diff) | |
download | protobuf-cd04e9b702ab50e47b9a84ca0777961cf0df058b.tar.gz protobuf-cd04e9b702ab50e47b9a84ca0777961cf0df058b.tar.bz2 protobuf-cd04e9b702ab50e47b9a84ca0777961cf0df058b.zip |
rename python README, and fix markdown in java and python respectively
Diffstat (limited to 'python')
-rw-r--r-- | python/README.md (renamed from python/README.txt) | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/python/README.txt b/python/README.md index 04cb1767..ee7e7213 100644 --- a/python/README.txt +++ b/python/README.md @@ -1,4 +1,8 @@ Protocol Buffers - Google's data interchange format +=================================================== + +[![Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https://travis-ci.org/google/protobuf) + Copyright 2008 Google Inc. This directory contains the Python Protocol Buffers runtime library. @@ -65,9 +69,11 @@ Installation 5) Install: - $ python setup.py install - or: - $ python setup.py install --cpp_implementation + $ 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 @@ -93,8 +99,8 @@ To use the C++ implementation, you need to: parent directory. 2) Export an environment variable: - $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp - $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2 + $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp + $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2 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 @@ -103,4 +109,3 @@ 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 variable to "cpp", so the tests will be against C++ implemented Python messages. - |