From 0de11f7269fca9b78808c42bbf4abcbc85db71df Mon Sep 17 00:00:00 2001 From: Salim Fadhley Date: Wed, 5 Feb 2014 20:41:50 +0000 Subject: [PATCH] added documentation about getting version info --- README.rst | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 6853a83..91371b9 100644 --- a/README.rst +++ b/README.rst @@ -118,8 +118,6 @@ missing test dependencies: source .venv/bin/active (venv) python setup.py test - - Project Contributors -------------------- @@ -137,6 +135,21 @@ Project Contributors Please do not contact these contributors directly for support questions! Use the GitHub tracker instead. +Tips & Tricks +------------- + +Getting the installed version of JenkinsAPI +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. code-block:: bash + pip install pkginfo + python + + +.. code-block:: pythin + from pkginfo import get_metadata + print get_metadata('jenkinsapi').version + License -------- -- 2.34.1