summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/conf.py9
-rw-r--r--jsonpointer.py8
2 files changed, 10 insertions, 7 deletions
diff --git a/doc/conf.py b/doc/conf.py
index ad3cade..ed2a7f3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -18,6 +18,8 @@ import sys, os
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.join(os.path.abspath('.'), '..'))
+import jsonpointer
+
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -41,16 +43,17 @@ master_doc = 'index'
# General information about the project.
project = u'python-json-pointer'
-copyright = u'2013, Stefan Kögl'
+copyright = jsonpointer.__author__
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
+
# The short X.Y version.
-version = '1'
+version = jsonpointer.__version__
# The full version, including alpha/beta/rc tags.
-release = '1.0'
+release = jsonpointer.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/jsonpointer.py b/jsonpointer.py
index e45a205..dfb494e 100644
--- a/jsonpointer.py
+++ b/jsonpointer.py
@@ -33,10 +33,10 @@
""" Identify specific nodes in a JSON document (RFC 6901) """
# Will be parsed by setup.py to determine package metadata
-__author__ = 'Stefan Kögl <stefan@skoegl.net>'
-__version__ = '1.0'
-__website__ = 'https://github.com/stefankoegl/python-json-pointer'
-__license__ = 'Modified BSD License'
+__author__ = u'Stefan Kögl <stefan@skoegl.net>'
+__version__ = u'1.0'
+__website__ = u'https://github.com/stefankoegl/python-json-pointer'
+__license__ = u'Modified BSD License'
try: