Skip to content

Commit

Permalink
merge 2.6.0 to trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 25, 2014
1 parent 1eba9d9 commit a21bf2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 3 additions & 5 deletions python/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Installation
$ python setup.py build
$ python setup.py google_test

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

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

$ python setup.py install
or:
$ python setup.py install --nocpp_implementation
$ python setup.py install --cpp_implementation

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

WARNING: This is EXPERIMENTAL and only available for CPython platforms.

The C++ implementation for Python messages is built as a Python extension to
improve the overall protobuf Python performance.

Expand Down
5 changes: 2 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,9 @@ def run(self):

if __name__ == '__main__':
ext_module_list = []
nocpp = '--nocpp_implementation'
if nocpp in sys.argv:
cpp_impl = '--cpp_implementation'
if cpp_impl in sys.argv:
sys.argv.remove(cpp_impl)
else:
# C++ implementation extension
ext_module_list.append(Extension(
"google.protobuf.pyext._message",
Expand Down

1 comment on commit a21bf2e

@tim8917
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still using .proto files v2.6. Cannot compile from .proto to JavaScript. Is it possible?

protoc-gen-js: program not found or is not executable
--js_out: protoc-gen-js: Plugin failed with status code 1.

Please sign in to comment.