summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 91c02b1..3cb7d74 100644
--- a/README.rst
+++ b/README.rst
@@ -80,6 +80,7 @@ instead use ``pkg_resources`` after editable/real installation:
.. code:: python
+ # contents of docs/conf.py
from pkg_resources import get_distribution
release = get_distribution('myproject').version
# for example take major/minor