Skip to content
Snippets Groups Projects
Commit e7abcd8c authored by Michael Moser's avatar Michael Moser
Browse files

Add version info.

parent 6049333a
No related branches found
No related tags found
No related merge requests found
...@@ -14,21 +14,24 @@ ...@@ -14,21 +14,24 @@
# #
import os import os
import sys import sys
from datetime import date
from pkg_resources import get_distribution
sys.path.insert(0, os.path.abspath('../..')) sys.path.insert(0, os.path.abspath('../..'))
#sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('.'))
import orcasong import orcasong
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = 'OrcaSong' project = 'OrcaSong'
copyright = '2018, Michael Moser' copyright = u'{0}, Michael Moser'.format(date.today().year)
author = 'Michael Moser' author = 'Michael Moser'
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = '' release = get_distribution('orcasong').version
# The short X.Y version
version = '.'.join(release.split('.')[:2])
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment