Read the Docs build information Build id: 257346 Project: iiasa-energy-program-message-ix Version: latest Commit: 6714d2f00b6d8fc4510d9d205670d608f4257dcc Date: 2019-11-07T12:56:05.694060Z State: finished Success: False [rtd-command-info] start-time: 2019-11-07T12:56:06.210279Z, end-time: 2019-11-07T12:56:06.226057Z, duration: 0, exit-code: 0 git remote set-url origin https://github.com/iiasa/message_ix.git [rtd-command-info] start-time: 2019-11-07T12:56:06.319911Z, end-time: 2019-11-07T12:56:07.140932Z, duration: 0, exit-code: 0 git fetch origin --force --tags --prune --prune-tags --depth 50 From https://github.com/iiasa/message_ix f3d4d15..6714d2f master -> origin/master [rtd-command-info] start-time: 2019-11-07T12:56:07.410083Z, end-time: 2019-11-07T12:56:07.432392Z, duration: 0, exit-code: 0 git checkout --force origin/master Previous HEAD position was f3d4d15 Merge pull request #255 from iiasa/issue/252 HEAD is now at 6714d2f Merge pull request #258 from volker-krey/add_year_import [rtd-command-info] start-time: 2019-11-07T12:56:07.515944Z, end-time: 2019-11-07T12:56:07.532766Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2019-11-07T12:56:08.653055Z, end-time: 2019-11-07T12:56:14.014661Z, duration: 5, exit-code: 0 python3.6 -mvirtualenv --no-site-packages --no-download Using base prefix '/home/docs/.pyenv/versions/3.6.8' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin/python3.6 Not overwriting existing python script /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin/python (you must use /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin/python3.6) Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2019-11-07T12:56:14.110127Z, end-time: 2019-11-07T12:56:15.233406Z, duration: 1, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/.cache/pip pip Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (19.3.1) [rtd-command-info] start-time: 2019-11-07T12:56:15.311353Z, end-time: 2019-11-07T12:56:17.720580Z, duration: 2, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/.cache/pip Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<1.1 Requirement already up-to-date: Pygments==2.3.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (2.3.1) Requirement already up-to-date: setuptools==41.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (41.0.1) Requirement already up-to-date: docutils==0.14 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (0.14) Requirement already up-to-date: mock==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (1.0.1) Requirement already up-to-date: pillow==5.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (5.4.1) Requirement already up-to-date: alabaster!=0.7.5,<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (0.7.12) Requirement already up-to-date: commonmark==0.8.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (0.8.1) Requirement already up-to-date: recommonmark==0.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (0.5.0) Requirement already up-to-date: sphinx<2 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (1.8.5) Requirement already up-to-date: sphinx-rtd-theme<0.5 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (0.4.3) Requirement already up-to-date: readthedocs-sphinx-ext<1.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (1.0.0) Requirement already satisfied, skipping upgrade: future in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from commonmark==0.8.1) (0.18.2) Requirement already satisfied, skipping upgrade: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (2.0.0) Requirement already satisfied, skipping upgrade: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (2.10.3) Requirement already satisfied, skipping upgrade: packaging in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (19.2) Requirement already satisfied, skipping upgrade: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (2.22.0) Requirement already satisfied, skipping upgrade: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (1.1.2) Requirement already satisfied, skipping upgrade: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (1.13.0) Requirement already satisfied, skipping upgrade: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (1.1.0) Requirement already satisfied, skipping upgrade: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx<2) (2.7.0) Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from Jinja2>=2.3->sphinx<2) (1.1.1) Requirement already satisfied, skipping upgrade: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from packaging->sphinx<2) (2.4.3) Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<2) (1.25.6) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<2) (2019.9.11) Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<2) (2.8) Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<2) (3.0.4) Requirement already satisfied, skipping upgrade: pytz>=2015.7 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from babel!=2.0,>=1.3->sphinx<2) (2019.3) [rtd-command-info] start-time: 2019-11-07T12:56:17.797486Z, end-time: 2019-11-07T12:56:18.890010Z, duration: 1, exit-code: 0 python -m pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/.cache/pip -r doc/requirements.txt Requirement already satisfied: ixmp from git+git://github.com/iiasa/ixmp.git#egg=ixmp in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from -r doc/requirements.txt (line 2)) (0.2.0.post0.dev123) Requirement already satisfied: numpydoc in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from -r doc/requirements.txt (line 4)) (0.9.1) Requirement already satisfied: pyam-iamc from git+git://github.com/IAMconsortium/pyam.git#egg=pyam-iamc in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from -r doc/requirements.txt (line 8)) (0.3.0+1.ga4e266c) Requirement already satisfied: sphinx>=1.8 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from -r doc/requirements.txt (line 10)) (1.8.5) Requirement already satisfied: sphinx_rtd_theme in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from -r doc/requirements.txt (line 11)) (0.4.3) Requirement already satisfied: sphinxcontrib-bibtex in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from -r doc/requirements.txt (line 12)) (1.0.0) Requirement already satisfied: graphviz in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (0.13) Requirement already satisfied: pandas in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (0.25.3) Requirement already satisfied: PyYAML in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (5.1.2) Requirement already satisfied: dask[array] in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (2.6.0) Requirement already satisfied: xlrd in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (1.2.0) Requirement already satisfied: JPype1>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (0.7.0) Requirement already satisfied: xlsxwriter in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (1.2.2) Requirement already satisfied: click in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (7.0) Requirement already satisfied: xarray in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (0.14.0) Requirement already satisfied: pint in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from ixmp->-r doc/requirements.txt (line 2)) (0.9) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from numpydoc->-r doc/requirements.txt (line 4)) (2.10.3) Requirement already satisfied: seaborn in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pyam-iamc->-r doc/requirements.txt (line 8)) (0.9.0) Requirement already satisfied: matplotlib<=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pyam-iamc->-r doc/requirements.txt (line 8)) (3.0.2) Requirement already satisfied: numpy in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pyam-iamc->-r doc/requirements.txt (line 8)) (1.17.3) Requirement already satisfied: six in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pyam-iamc->-r doc/requirements.txt (line 8)) (1.13.0) Requirement already satisfied: argparse in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pyam-iamc->-r doc/requirements.txt (line 8)) (1.4.0) Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pyam-iamc->-r doc/requirements.txt (line 8)) (2.22.0) Requirement already satisfied: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (2.7.0) Requirement already satisfied: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (1.1.2) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (2.0.0) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (19.2) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (2.3.1) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (0.7.12) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (1.1.0) Requirement already satisfied: docutils>=0.11 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (0.14) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinx>=1.8->-r doc/requirements.txt (line 10)) (41.0.1) Requirement already satisfied: pybtex-docutils>=0.2.0 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 12)) (0.2.2) Requirement already satisfied: oset>=0.1.3 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 12)) (0.1.3) Requirement already satisfied: pybtex>=0.20 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from sphinxcontrib-bibtex->-r doc/requirements.txt (line 12)) (0.22.2) Requirement already satisfied: python-dateutil>=2.6.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pandas->ixmp->-r doc/requirements.txt (line 2)) (2.8.1) Requirement already satisfied: pytz>=2017.2 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pandas->ixmp->-r doc/requirements.txt (line 2)) (2019.3) Requirement already satisfied: toolz>=0.7.3; extra == "array" in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from dask[array]->ixmp->-r doc/requirements.txt (line 2)) (0.10.0) Requirement already satisfied: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from Jinja2>=2.3->numpydoc->-r doc/requirements.txt (line 4)) (1.1.1) Requirement already satisfied: scipy>=0.14.0 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from seaborn->pyam-iamc->-r doc/requirements.txt (line 8)) (1.3.1) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from matplotlib<=3.0.2->pyam-iamc->-r doc/requirements.txt (line 8)) (2.4.3) Requirement already satisfied: kiwisolver>=1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from matplotlib<=3.0.2->pyam-iamc->-r doc/requirements.txt (line 8)) (1.1.0) Requirement already satisfied: cycler>=0.10 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from matplotlib<=3.0.2->pyam-iamc->-r doc/requirements.txt (line 8)) (0.10.0) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests->pyam-iamc->-r doc/requirements.txt (line 8)) (2019.9.11) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests->pyam-iamc->-r doc/requirements.txt (line 8)) (1.25.6) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests->pyam-iamc->-r doc/requirements.txt (line 8)) (3.0.4) Requirement already satisfied: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from requests->pyam-iamc->-r doc/requirements.txt (line 8)) (2.8) Requirement already satisfied: latexcodec>=1.0.4 in /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages (from pybtex>=0.20->sphinxcontrib-bibtex->-r doc/requirements.txt (line 12)) (1.0.7) [rtd-command-info] start-time: 2019-11-07T12:56:18.967645Z, end-time: 2019-11-07T12:56:20.062171Z, duration: 1, exit-code: 0 python /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/checkouts/latest/setup.py install --force running install running bdist_egg running egg_info writing message_ix.egg-info/PKG-INFO writing dependency_links to message_ix.egg-info/dependency_links.txt writing entry points to message_ix.egg-info/entry_points.txt writing requirements to message_ix.egg-info/requires.txt writing top-level names to message_ix.egg-info/top_level.txt reading manifest file 'message_ix.egg-info/SOURCES.txt' writing manifest file 'message_ix.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py copying message_ix/models.py -> build/lib/message_ix copying message_ix/__init__.py -> build/lib/message_ix copying message_ix/cli.py -> build/lib/message_ix creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/message_ix copying build/lib/message_ix/models.py -> build/bdist.linux-x86_64/egg/message_ix copying build/lib/message_ix/__init__.py -> build/bdist.linux-x86_64/egg/message_ix copying build/lib/message_ix/cli.py -> build/bdist.linux-x86_64/egg/message_ix creating build/bdist.linux-x86_64/egg/message_ix/reporting copying build/lib/message_ix/reporting/__init__.py -> build/bdist.linux-x86_64/egg/message_ix/reporting copying build/lib/message_ix/reporting/pyam.py -> build/bdist.linux-x86_64/egg/message_ix/reporting copying build/lib/message_ix/reporting/computations.py -> build/bdist.linux-x86_64/egg/message_ix/reporting creating build/bdist.linux-x86_64/egg/message_ix/model copying build/lib/message_ix/model/MACRO_run.gms -> build/bdist.linux-x86_64/egg/message_ix/model copying build/lib/message_ix/model/version.gms -> build/bdist.linux-x86_64/egg/message_ix/model copying build/lib/message_ix/model/conopt.opt -> build/bdist.linux-x86_64/egg/message_ix/model copying build/lib/message_ix/model/MESSAGE-MACRO_run.gms -> build/bdist.linux-x86_64/egg/message_ix/model creating build/bdist.linux-x86_64/egg/message_ix/model/output copying build/lib/message_ix/model/output/README.md -> build/bdist.linux-x86_64/egg/message_ix/model/output creating build/bdist.linux-x86_64/egg/message_ix/model/templates copying build/lib/message_ix/model/templates/MESSAGE_master_template.gms -> build/bdist.linux-x86_64/egg/message_ix/model/templates copying build/lib/message_ix/model/MESSAGE_run.gms -> build/bdist.linux-x86_64/egg/message_ix/model creating build/bdist.linux-x86_64/egg/message_ix/model/MACRO copying build/lib/message_ix/model/MACRO/macro_solve.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MACRO copying build/lib/message_ix/model/MACRO/macro_data_load.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MACRO copying build/lib/message_ix/model/MACRO/macro_reporting.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MACRO copying build/lib/message_ix/model/MACRO/macro_calibration.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MACRO copying build/lib/message_ix/model/MACRO/macro_core.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MACRO creating build/bdist.linux-x86_64/egg/message_ix/model/data copying build/lib/message_ix/model/data/README.md -> build/bdist.linux-x86_64/egg/message_ix/model/data creating build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/data_load.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/parameter_def.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/reporting_for_MACRO.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/scaling_investment_costs.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/sets_maps_def.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/model_setup.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/auxiliary_settings.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/model_solve.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/reporting.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/version_check.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE copying build/lib/message_ix/model/MESSAGE/model_core.gms -> build/bdist.linux-x86_64/egg/message_ix/model/MESSAGE creating build/bdist.linux-x86_64/egg/message_ix/model/includes copying build/lib/message_ix/model/includes/aux_computation_time.gms -> build/bdist.linux-x86_64/egg/message_ix/model/includes copying build/lib/message_ix/model/includes/period_parameter_assignment.gms -> build/bdist.linux-x86_64/egg/message_ix/model/includes copying build/lib/message_ix/postprocess.py -> build/bdist.linux-x86_64/egg/message_ix copying build/lib/message_ix/default_path_constants.py -> build/bdist.linux-x86_64/egg/message_ix copying build/lib/message_ix/core.py -> build/bdist.linux-x86_64/egg/message_ix creating build/bdist.linux-x86_64/egg/message_ix/testing copying build/lib/message_ix/testing/__init__.py -> build/bdist.linux-x86_64/egg/message_ix/testing copying build/lib/message_ix/testing/nightly.py -> build/bdist.linux-x86_64/egg/message_ix/testing copying build/lib/message_ix/macro.py -> build/bdist.linux-x86_64/egg/message_ix copying build/lib/message_ix/utils.py -> build/bdist.linux-x86_64/egg/message_ix copying build/lib/message_ix/default_paths.py -> build/bdist.linux-x86_64/egg/message_ix creating build/bdist.linux-x86_64/egg/message_ix/tools copying build/lib/message_ix/tools/__init__.py -> build/bdist.linux-x86_64/egg/message_ix/tools creating build/bdist.linux-x86_64/egg/message_ix/tools/add_year copying build/lib/message_ix/tools/add_year/__init__.py -> build/bdist.linux-x86_64/egg/message_ix/tools/add_year copying build/lib/message_ix/tools/add_year/__main__.py -> build/bdist.linux-x86_64/egg/message_ix/tools/add_year byte-compiling build/bdist.linux-x86_64/egg/message_ix/models.py to models.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/__init__.py to __init__.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/cli.py to cli.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/reporting/__init__.py to __init__.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/reporting/pyam.py to pyam.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/reporting/computations.py to computations.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/postprocess.py to postprocess.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/default_path_constants.py to default_path_constants.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/core.py to core.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/testing/__init__.py to __init__.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/testing/nightly.py to nightly.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/macro.py to macro.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/utils.py to utils.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/default_paths.py to default_paths.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/tools/__init__.py to __init__.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/tools/add_year/__init__.py to __init__.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/message_ix/tools/add_year/__main__.py to __main__.cpython-36.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying message_ix.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying message_ix.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying message_ix.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying message_ix.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying message_ix.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying message_ix.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... message_ix.__pycache__.__init__.cpython-36: module references __file__ message_ix.__pycache__.cli.cpython-36: module references __file__ message_ix.__pycache__.default_path_constants.cpython-36: module references __file__ message_ix.__pycache__.models.cpython-36: module references __file__ message_ix.testing.__pycache__.nightly.cpython-36: module references __file__ creating 'dist/message_ix-1.2.0-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing message_ix-1.2.0-py3.6.egg removing '/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/message_ix-1.2.0-py3.6.egg' (and everything under it) creating /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/message_ix-1.2.0-py3.6.egg Extracting message_ix-1.2.0-py3.6.egg to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages message-ix 1.2.0 is already the active version in easy-install.pth Installing message-ix script to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin Installed /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/message_ix-1.2.0-py3.6.egg Processing dependencies for message-ix==1.2.0 Searching for XlsxWriter==1.2.2 Best match: XlsxWriter 1.2.2 Adding XlsxWriter 1.2.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for xlrd==1.2.0 Best match: xlrd 1.2.0 Adding xlrd 1.2.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for pandas==0.25.3 Best match: pandas 0.25.3 Adding pandas 0.25.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for ixmp==0.2.0.post0.dev123 Best match: ixmp 0.2.0.post0.dev123 Adding ixmp 0.2.0.post0.dev123 to easy-install.pth file Installing import-timeseries script to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin Installing ixmp script to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin Installing ixmp-config script to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for Click==7.0 Best match: Click 7.0 Adding Click 7.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for python-dateutil==2.8.1 Best match: python-dateutil 2.8.1 Adding python-dateutil 2.8.1 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for numpy==1.17.3 Best match: numpy 1.17.3 Adding numpy 1.17.3 to easy-install.pth file Installing f2py script to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin Installing f2py3 script to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin Installing f2py3.6 script to /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for pytz==2019.3 Best match: pytz 2019.3 Adding pytz 2019.3 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for dask==2.6.0 Best match: dask 2.6.0 Adding dask 2.6.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for graphviz==0.13 Best match: graphviz 0.13 Adding graphviz 0.13 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for PyYAML==5.1.2 Best match: PyYAML 5.1.2 Adding PyYAML 5.1.2 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for Pint==0.9 Best match: Pint 0.9 Adding Pint 0.9 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for JPype1==0.7.0 Best match: JPype1 0.7.0 Adding JPype1 0.7.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for xarray==0.14.0 Best match: xarray 0.14.0 Adding xarray 0.14.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for six==1.13.0 Best match: six 1.13.0 Adding six 1.13.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Searching for toolz==0.10.0 Best match: toolz 0.10.0 Adding toolz 0.10.0 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages Finished processing dependencies for message-ix==1.2.0 [rtd-command-info] start-time: 2019-11-07T12:56:21.627530Z, end-time: 2019-11-07T12:56:21.935822Z, duration: 0, exit-code: 0 cat doc/source/conf.py # -*- coding: utf-8 -*- # # message documentation build configuration file, created by # sphinx-quickstart on Mon Feb 8 16:15:24 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys import os try: from pathlib import Path except ImportError: pass import message_ix # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. sys.path.append('.') extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.mathjax', 'sphinxcontrib.bibtex', 'sphinx.ext.autosummary', 'sphinx.ext.napoleon', ] # Extension only works for Python 3 if sys.version_info[0] == 3: sys.path.insert(0, os.path.abspath('..')) extensions.append('grab_gams_doc') # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # source_suffix = ['.rst', '.md'] source_suffix = '.rst' # The encoding of source files. # source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'MESSAGEix' copyright = u'2018, IIASA, Energy Program' author = u'IIASA, Energy Program' # 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 = as determined from function above # The full version, including alpha/beta/rc tags. version = message_ix.__version__ release = message_ix.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['_themes/*'] # The reST default role (used for this markup: `text`) to use for all # documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # If true, keep warnings as "system message" paragraphs in the built documents. #keep_warnings = False # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. html_logo = '_static/logo_white.png' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. #html_favicon = None # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] def setup(app): app.add_stylesheet('custom.css') # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. #html_extra_path = [] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. #html_sidebars = {} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = None # Language to be used for generating the HTML full-text search index. # Sphinx supports the following languages: # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' #html_search_language = 'en' # A dictionary with options for the search language support, empty by default. # Now only 'ja' uses this config value #html_search_options = {'type': 'default'} # The name of a javascript file (relative to the configuration directory) that # implements a search results scorer. If empty, the default will be used. #html_search_scorer = 'scorer.js' # Output file base name for HTML help builder. htmlhelp_basename = 'MESSAGEix_doc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. #'preamble': '', # Latex figure (float) alignment #'figure_align': 'htbp', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'message.tex', u'message Documentation', u'IIASA Energy Program', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. #latex_use_parts = False # If true, show page references after internal links. #latex_show_pagerefs = False # If true, show URL addresses after external links. #latex_show_urls = False # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. #latex_domain_indices = True # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ (master_doc, 'message', u'message Documentation', [author], 1) ] # If true, show URL addresses after external links. #man_show_urls = False # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ (master_doc, 'message', u'message Documentation', author, 'message', 'One line description of project.', 'Miscellaneous'), ] # Documents to append as an appendix to all manuals. #texinfo_appendices = [] # If false, no module index is generated. #texinfo_domain_indices = True # How to display URL addresses: 'footnote', 'no', or 'inline'. #texinfo_show_urls = 'footnote' # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False intersphinx_mapping = { 'dask': ('http://docs.dask.org/en/stable/', None), 'ixmp': ('https://message.iiasa.ac.at/projects/ixmp/en/latest/', None), 'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None), 'pint': ('https://pint.readthedocs.io/en/stable/', None), 'pyam': ('https://pyam-iamc.readthedocs.io/en/stable/', None), 'python': ('https://docs.python.org/3/', None), } # prolog for all rst files rst_prolog = """ .. |MESSAGEix| replace:: MESSAGE\ :emphasis:`ix` .. |ixmp| replace:: :emphasis:`ix modeling platform` .. |version| replace:: {} .. role:: strike .. role:: underline """.format(version) # Configuration for grab_gams_doc extension if sys.version_info[0] == 3: gams_source_dir = Path(__file__).parents[2] / 'message_ix' / 'model' gams_target_dir = 'model' ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # import importlib import sys import os.path from six import string_types from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://media.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://media.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ("master", "/en/master/"), ("latest", "/en/latest/"), ("stable", "/en/stable/"), ("v1.2.0", "/en/v1.2.0/"), ("1.2.x", "/en/1.2.x/"), ("v1.1.0", "/en/v1.1.0/"), ], 'downloads': [ ("pdf", "//readthedocs.com/projects/iiasa-energy-program-message-ix/downloads/pdf/latest/"), ("html", "//readthedocs.com/projects/iiasa-energy-program-message-ix/downloads/htmlzip/latest/"), ("epub", "//readthedocs.com/projects/iiasa-energy-program-message-ix/downloads/epub/latest/"), ], 'subprojects': [ ("iiasa-energy-program-ixmp", "https://message.iiasa.ac.at/projects/ixmp/en/stable/"), ("iiasa-energy-program-message-doc", "https://message.iiasa.ac.at/projects/global/en/latest/"), ], 'slug': 'iiasa-energy-program-message-ix', 'name': u'message_ix', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://message.iiasa.ac.at/en/stable/', 'analytics_code': 'UA-134631150-1', 'single_version': False, 'conf_py_path': '/doc/source/', 'api_host': 'https://readthedocs.com', 'github_user': 'iiasa', 'github_repo': 'message_ix', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'user_analytics_code': 'UA-134631150-1', 'global_analytics_code': 'UA-17997319-2', 'commit': '6714d2f0', } if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' [rtd-command-info] start-time: 2019-11-07T12:56:22.024187Z, end-time: 2019-11-07T12:56:36.471749Z, duration: 14, exit-code: 2 python sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.5 Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/checkouts/latest/doc/source/conf.py", line 23, in import message_ix File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/message_ix-1.2.0-py3.6.egg/message_ix/__init__.py", line 20, in config.register('message model dir', Path, Path(__file__).parent / 'model') AttributeError: module 'ixmp.config' has no attribute 'register' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/cmd/build.py", line 303, in build_main args.tags, args.verbosity, args.jobs, args.keep_going) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/application.py", line 201, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 203, in read namespace = eval_config_file(filename, tags) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 380, in eval_config_file raise ConfigError(msg % traceback.format_exc()) sphinx.errors.ConfigError: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/checkouts/latest/doc/source/conf.py", line 23, in import message_ix File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/message_ix-1.2.0-py3.6.egg/message_ix/__init__.py", line 20, in config.register('message model dir', Path, Path(__file__).parent / 'model') AttributeError: module 'ixmp.config' has no attribute 'register' Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/checkouts/latest/doc/source/conf.py", line 23, in import message_ix File "/home/docs/checkouts/readthedocs.org/user_builds/iiasa-energy-program-message-ix/envs/latest/lib/python3.6/site-packages/message_ix-1.2.0-py3.6.egg/message_ix/__init__.py", line 20, in config.register('message model dir', Path, Path(__file__).parent / 'model') AttributeError: module 'ixmp.config' has no attribute 'register'