From 22e55e18eb2c52df2936f9357b6d615a4497bb35 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 8 Jun 2020 17:29:43 +0100 Subject: [PATCH] Add some simple docs for installing the Python bindings from source. (#975) --- bindings/python/benchmark/example.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bindings/python/benchmark/example.py b/bindings/python/benchmark/example.py index 9546699f92..7c8e3064ef 100644 --- a/bindings/python/benchmark/example.py +++ b/bindings/python/benchmark/example.py @@ -11,7 +11,14 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Example of Python using C++ benchmark framework.""" +"""Example of Python using C++ benchmark framework. + +To run this example, you must first install the `benchmark` Python package. + +To install using `setup.py`, download and extract the `benchmark` source. +In the extracted directory, execute: + python setup.py install +""" import benchmark