diff --git a/docs/installing.rst b/docs/installing.rst index 759e73a9c..61aaac1ed 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -49,6 +49,14 @@ Symlink or subtree the ``sphinx_rtd_theme/sphinx_rtd_theme`` repository into you Compatibility ============= +Python +------ + +``sphinx_rtd_theme`` requires Python 2.7 or Python 3.4 or greater. + +Sphinx +------ + ``sphinx_rtd_theme`` depends on at least Sphinx 1.6 although, we recommend at least Sphinx 2 to take advantage of the html5 writer. The html4 writer is still supported however, diff --git a/setup.py b/setup.py index 202444a4c..39f39374a 100644 --- a/setup.py +++ b/setup.py @@ -106,7 +106,7 @@ def run(self): 'theme.conf', '*.html', 'static/css/*.css', - 'static/css/fonts/*.*' + 'static/css/fonts/*.*', 'static/js/*.js', ]}, include_package_data=True, @@ -116,6 +116,7 @@ def run(self): 'sphinx_rtd_theme = sphinx_rtd_theme', ] }, + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', install_requires=[ 'sphinx>=1.6', 'docutils<0.17', # https://github.com/sphinx-doc/sphinx/issues/9001