diff --git a/docs/conf.py b/docs/conf.py index dec7add..8e4b10b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,7 @@ fields = ['--name', '--version', '--url', '--author'] dist_info_cmd = [sys.executable, setup_script] + fields output_bytes = subprocess.check_output(dist_info_cmd, cwd=root) -project, version, url, author = output_bytes.decode('utf-8').split() +project, version, url, author = output_bytes.decode('utf-8').strip().split('\n') copyright = '2016 ' + author