From b56c55a90d8f3adee760bfa1f61b68fd4ebde310 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 25 Jan 2016 14:10:24 -0700 Subject: [PATCH] manual: __version__ cleanup --- doc/manual/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/manual/conf.py b/doc/manual/conf.py index c92b30aa8..f13bb62bf 100644 --- a/doc/manual/conf.py +++ b/doc/manual/conf.py @@ -38,7 +38,7 @@ for module in mock_modules: # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('..')) -from artiq._version import get_versions +from artiq import __version__ as artiq_version # -- General configuration ------------------------------------------------ @@ -78,7 +78,7 @@ copyright = '2014-2016, M-Labs Limited' # version = 'prerelease' # The full version, including alpha/beta/rc tags. # release = 'prerelease' -release = get_versions()['version'] +release = artiq_version version = release.split('+', 1)[0] # The language for content autogenerated by Sphinx. Refer to documentation