Skip to content

Commit

Permalink
Merge pull request #1093 from readthedocs/Blendify/python-compat
Browse files Browse the repository at this point in the history
Add python version requirements to setup.py
  • Loading branch information
astrojuanlu committed Jun 23, 2021
2 parents 71d6d18 + b2323ce commit bc6e9f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/installing.rst
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit bc6e9f0

Please sign in to comment.