From: Salim Fadhley Date: Wed, 5 Feb 2014 20:41:50 +0000 (+0000) Subject: added documentation about getting version info X-Git-Tag: v0.2.23~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0de11f7269fca9b78808c42bbf4abcbc85db71df;p=tools%2Fpython-jenkinsapi.git added documentation about getting version info --- 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 --------