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
5dd5f0d0
Commit
5dd5f0d0
authored
Aug 13, 2014
by
jieluo@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change python README.txt
parent
2d10b80f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
README.txt
python/README.txt
+8
-3
No files found.
python/README.txt
View file @
5dd5f0d0
...
@@ -46,8 +46,10 @@ Installation
...
@@ -46,8 +46,10 @@ Installation
4) Build and run the tests:
4) Build and run the tests:
$ python setup.py build
$ python setup.py build
$ python setup.py test
$ python setup.py google_test
$ python setup.py exttest # To test C++ implementation (see below).
if you want to test c++ implementation, run:
$ python setup.py google_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.
...
@@ -63,6 +65,8 @@ Installation
...
@@ -63,6 +65,8 @@ Installation
5) Install:
5) Install:
$ python setup.py install
$ python setup.py install
or:
$ 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
...
@@ -97,7 +101,8 @@ You need to export this variable before running setup.py script to build and
...
@@ -97,7 +101,8 @@ 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
install the extension. You must also set the variable at runtime, otherwise
the pure-Python implementation will be used. In a future release, we will
the pure-Python implementation will be used. In a future release, we will
change the default so that C++ implementation is used whenever it is available.
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
It is strongly recommended to run `python setup.py google_test
--cpp_implementation` after setting the
variable to "cpp", so the tests will be against C++ implemented Python
variable to "cpp", so the tests will be against C++ implemented Python
messages.
messages.
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