Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
a21bf2e6
Commit
a21bf2e6
authored
Aug 25, 2014
by
jieluo@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge 2.6.0 to trunk
parent
1eba9d9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
README.txt
python/README.txt
+3
-5
setup.py
python/setup.py
+2
-3
No files found.
python/README.txt
View file @
a21bf2e6
...
@@ -48,8 +48,8 @@ Installation
...
@@ -48,8 +48,8 @@ Installation
$ python setup.py build
$ python setup.py build
$ python setup.py google_test
$ python setup.py google_test
i
f you want to test c++ implementation, run:
I
f you want to test c++ implementation, run:
$ python setup.py test
$ python setup.py test
--cpp_implementation
If some tests fail, this library may not work correctly on your
If some tests fail, this library may not work correctly on your
system. Continue at your own risk.
system. Continue at your own risk.
...
@@ -66,7 +66,7 @@ Installation
...
@@ -66,7 +66,7 @@ Installation
$ python setup.py install
$ python setup.py install
or:
or:
$ python setup.py install --
no
cpp_implementation
$ python setup.py install --cpp_implementation
This step may require superuser privileges.
This step may require superuser privileges.
NOTE: To use C++ implementation, you need to install C++ protobuf runtime
NOTE: To use C++ implementation, you need to install C++ protobuf runtime
...
@@ -84,8 +84,6 @@ web at:
...
@@ -84,8 +84,6 @@ web at:
C++ Implementation
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
The C++ implementation for Python messages is built as a Python extension to
improve the overall protobuf Python performance.
improve the overall protobuf Python performance.
...
...
python/setup.py
View file @
a21bf2e6
...
@@ -138,10 +138,9 @@ class build_py(_build_py):
...
@@ -138,10 +138,9 @@ class build_py(_build_py):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
ext_module_list
=
[]
ext_module_list
=
[]
nocpp
=
'--no
cpp_implementation'
cpp_impl
=
'--
cpp_implementation'
if
nocpp
in
sys
.
argv
:
if
cpp_impl
in
sys
.
argv
:
sys
.
argv
.
remove
(
cpp_impl
)
sys
.
argv
.
remove
(
cpp_impl
)
else
:
# C++ implementation extension
# C++ implementation extension
ext_module_list
.
append
(
Extension
(
ext_module_list
.
append
(
Extension
(
"google.protobuf.pyext._message"
,
"google.protobuf.pyext._message"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment