Skip to content

Commit

Permalink
Ensure that the doc requirement are set as default for 'Readthedocs'
Browse files Browse the repository at this point in the history
  • Loading branch information
buddly27 committed Jun 3, 2017
1 parent 628e1ec commit c4339d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
"pytest-cov >= 2, < 3"
]


# Readthedocs requires Sphinx extensions to be specified as part of
# install_requires in order to build properly.
if os.environ.get("READTHEDOCS", None) == "True":
INSTALL_REQUIRES.extend(DOC_REQUIRES)


setup(
name="champollion",
version=VERSION,
Expand Down

0 comments on commit c4339d7

Please sign in to comment.