Get version from Promgen directly
@@ -23,6 +23,8 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'promgen.settings'
import django
django.setup()
+from promgen.version import __version__
+
# -- General configuration ------------------------------------------------
@@ -64,9 +66,9 @@ author = 'LINE'
# built documents.
#
# The short X.Y version.
-version = '1.0'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = '1.0'
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
